Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001856/0.001856, allocations: 193.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.587/2.587, allocations: 461.9 MB / 0.7346 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 66.66 kB / 0.8992 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2995, allocations: 157.4 MB / 1.053 GB, free: 8.246 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002148/0.3016, allocations: 0.7514 MB / 1.054 GB, free: 7.496 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001396/0.303, allocations: 1.155 MB / 1.055 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.709e-05/0.3031, allocations: 4 kB / 1.055 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.007e-05/0.3032, allocations: 7.875 kB / 1.055 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.142e-05/0.3033, allocations: 7.875 kB / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005004/0.3038, allocations: 134.8 kB / 1.055 GB, free: 6.18 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001788/0.3039, allocations: 119.8 kB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.3041, allocations: 15.98 kB / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.715e-05/0.3042, allocations: 47.89 kB / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.939e-05/0.3043, allocations: 47.7 kB / 1.055 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.945e-05/0.3043, allocations: 12 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.568e-05/0.3044, allocations: 20 kB / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.338e-05/0.3044, allocations: 11.98 kB / 1.055 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.932e-05/0.3045, allocations: 51.83 kB / 1.055 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.3047, allocations: 107.7 kB / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3047, allocations: 0 / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3047, allocations: 0 / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.482e-06/0.3047, allocations: 0 / 1.055 GB, free: 5.754 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005891/0.3053, allocations: 417.2 kB / 1.056 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.3053, allocations: 12.61 kB / 1.056 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.857e-05/0.3054, allocations: 30.75 kB / 1.056 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.535e-05/0.3054, allocations: 8.938 kB / 1.056 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001/0.3055, allocations: 168.3 kB / 1.056 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.3056, allocations: 4.375 kB / 1.056 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.364e-05/0.3056, allocations: 16.36 kB / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.3058, allocations: 62.17 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3058, allocations: 3.938 kB / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.3058, allocations: 4 kB / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.3058, allocations: 0 / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001771/0.306, allocations: 39.95 kB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000476/0.3065, allocations: 344.5 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.3067, allocations: 62.55 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.3068, allocations: 32.97 kB / 1.056 GB, free: 4.402 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.378e-05/0.3068, allocations: 4 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002566/0.3071, allocations: 91.34 kB / 1.057 GB, free: 4.297 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.523e-06/0.3071, allocations: 3.938 kB / 1.057 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0004309/0.3075, allocations: 149.5 kB / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.3076, allocations: 55.41 kB / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.417e-05/0.3077, allocations: 113.8 kB / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.3077, allocations: 33.7 kB / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.778e-05/0.3078, allocations: 92.12 kB / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.3078, allocations: 11.81 kB / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.958e-05/0.3079, allocations: 37.7 kB / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.308, allocations: 322.8 kB / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.3082, allocations: 55.97 kB / 1.057 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/0.3083, allocations: 84.25 kB / 1.057 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002615/0.3086, allocations: 145.9 kB / 1.058 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.3086, allocations: 4 kB / 1.058 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004186/0.309, allocations: 203.1 kB / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.84e-05/0.3091, allocations: 39.39 kB / 1.058 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3091, allocations: 4 kB / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.3091, allocations: 7.938 kB / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.898e-05/0.3092, allocations: 15.92 kB / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.3092, allocations: 0 / 1.058 GB, free: 2.84 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002161/0.3095, allocations: 39.8 kB / 1.058 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/0.3095, allocations: 12 kB / 1.058 GB, free: 2.789 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,change.y,change.u,$PRE.change.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001066/0.3096, allocations: 129.8 kB / 1.058 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.42e-05/0.3096, allocations: 4 kB / 1.058 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.827e-05/0.3096, allocations: 8.375 kB / 1.058 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3097, allocations: 0 / 1.058 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3097, allocations: 0 / 1.058 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3097, allocations: 0 / 1.058 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004626/0.3101, allocations: 386.3 kB / 1.058 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3102, allocations: 3.938 kB / 1.058 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.201e-05/0.3102, allocations: 7.984 kB / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3102, allocations: 0 / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.3102, allocations: 4 kB / 1.058 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3102, allocations: 0 / 1.058 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3102, allocations: 0 / 1.058 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003/0.3105, allocations: 223.3 kB / 1.059 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.138e-05/0.3106, allocations: 81.11 kB / 1.059 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.3106, allocations: 0 / 1.059 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.418e-05/0.3107, allocations: 11.98 kB / 1.059 GB, free: 1.848 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.203e-05/0.3108, allocations: 11.92 kB / 1.059 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.3108, allocations: 0 / 1.059 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.559e-05/0.3108, allocations: 99.75 kB / 1.059 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3108, allocations: 0 / 1.059 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002638/0.3111, allocations: 24 kB / 1.059 GB, free: 1.715 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000594/0.3117, allocations: 0.7401 MB / 1.06 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003843/0.3121, allocations: 195.3 kB / 1.06 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.3121, allocations: 0 / 1.06 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.3123, allocations: 39.97 kB / 1.06 GB, free: 0.707 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000264/0.3125, allocations: 20.89 kB / 1.06 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001979/0.3145, allocations: 1.679 MB / 1.061 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.3148, allocations: 0.6846 MB / 1.062 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.408e-05/0.3148, allocations: 7.984 kB / 1.062 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.127e-05/0.3149, allocations: 19.44 kB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.3149, allocations: 4 kB / 1.062 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01893/0.3338, allocations: 2.514 MB / 1.065 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.681/8.015, allocations: 7.875 kB / 1.065 GB, free: 11.72 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches