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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001672/0.001672, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002014/0.002014, allocations: 220.3 kB / 22.26 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.557/1.557, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.434/3.434, allocations: 0.505 GB / 0.8101 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002073/0.002073, allocations: 64.17 kB / 1.177 GB, free: 17.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3739/0.376, allocations: 180.2 MB / 1.353 GB, free: 8.469 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002187/0.3782, allocations: 0.7548 MB / 1.354 GB, free: 7.719 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001633/0.3798, allocations: 1.186 MB / 1.355 GB, free: 6.52 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.512e-05/0.3799, allocations: 0 / 1.355 GB, free: 6.52 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.445e-05/0.3799, allocations: 11.92 kB / 1.355 GB, free: 6.508 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.01e-05/0.38, allocations: 11.88 kB / 1.355 GB, free: 6.496 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005226/0.3805, allocations: 134.2 kB / 1.355 GB, free: 6.367 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001989/0.3807, allocations: 123.7 kB / 1.355 GB, free: 6.246 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.979e-05/0.3808, allocations: 8 kB / 1.355 GB, free: 6.238 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.3809, allocations: 47.89 kB / 1.355 GB, free: 6.191 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.3811, allocations: 47.83 kB / 1.355 GB, free: 6.145 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.3811, allocations: 12 kB / 1.355 GB, free: 6.133 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 7.414e-05/0.3812, allocations: 23.98 kB / 1.355 GB, free: 6.109 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.127e-05/0.3812, allocations: 19.97 kB / 1.355 GB, free: 6.09 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.232e-05/0.3813, allocations: 35.86 kB / 1.355 GB, free: 6.055 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001989/0.3815, allocations: 119.8 kB / 1.355 GB, free: 5.938 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3815, allocations: 0 / 1.355 GB, free: 5.938 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.102e-06/0.3815, allocations: 0 / 1.355 GB, free: 5.938 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.3815, allocations: 0 / 1.355 GB, free: 5.938 MB / 1.045 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.000599/0.3821, allocations: 331.8 kB / 1.356 GB, free: 5.574 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.3821, allocations: 12.03 kB / 1.356 GB, free: 5.562 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.811e-05/0.3822, allocations: 38.75 kB / 1.356 GB, free: 5.516 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.866e-05/0.3822, allocations: 12.89 kB / 1.356 GB, free: 5.504 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.3823, allocations: 118.4 kB / 1.356 GB, free: 5.363 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.3824, allocations: 384 / 1.356 GB, free: 5.363 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.174e-05/0.3824, allocations: 12.38 kB / 1.356 GB, free: 5.352 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.3826, allocations: 70.09 kB / 1.356 GB, free: 5.277 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.3826, allocations: 7.938 kB / 1.356 GB, free: 5.27 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.3826, allocations: 3.984 kB / 1.356 GB, free: 5.266 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3826, allocations: 0 / 1.356 GB, free: 5.266 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/0.3828, allocations: 39.97 kB / 1.356 GB, free: 5.227 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004943/0.3833, allocations: 299.8 kB / 1.356 GB, free: 4.891 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.3835, allocations: 62.55 kB / 1.356 GB, free: 4.82 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.3836, allocations: 36.95 kB / 1.356 GB, free: 4.781 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.3836, allocations: 0 / 1.356 GB, free: 4.781 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002538/0.3838, allocations: 79.38 kB / 1.356 GB, free: 4.691 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.3838, allocations: 0 / 1.356 GB, free: 4.691 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.0004459/0.3843, allocations: 157.6 kB / 1.357 GB, free: 4.531 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.3843, allocations: 51.41 kB / 1.357 GB, free: 4.469 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.624e-05/0.3844, allocations: 113.8 kB / 1.357 GB, free: 4.348 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.3845, allocations: 29.7 kB / 1.357 GB, free: 4.312 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.432e-05/0.3845, allocations: 92.12 kB / 1.357 GB, free: 4.219 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.3845, allocations: 23.8 kB / 1.357 GB, free: 4.195 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.28e-05/0.3846, allocations: 37.7 kB / 1.357 GB, free: 4.152 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.3848, allocations: 322.8 kB / 1.357 GB, free: 3.828 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001577/0.3849, allocations: 59.95 kB / 1.357 GB, free: 3.77 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001684/0.3851, allocations: 80.27 kB / 1.357 GB, free: 3.676 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002758/0.3854, allocations: 149.8 kB / 1.357 GB, free: 3.508 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3854, allocations: 0 / 1.357 GB, free: 3.508 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004696/0.3858, allocations: 215.4 kB / 1.358 GB, free: 3.285 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.492e-05/0.3859, allocations: 37.83 kB / 1.358 GB, free: 3.242 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.3859, allocations: 7.984 kB / 1.358 GB, free: 3.234 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.3859, allocations: 3.984 kB / 1.358 GB, free: 3.23 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.33e-05/0.386, allocations: 15.92 kB / 1.358 GB, free: 3.215 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.386, allocations: 7.938 kB / 1.358 GB, free: 3.207 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/0.3862, allocations: 31.95 kB / 1.358 GB, free: 3.176 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.3862, allocations: 12 kB / 1.358 GB, free: 3.164 MB / 1.045 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.000111/0.3863, allocations: 129.7 kB / 1.358 GB, free: 3.027 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.625e-05/0.3863, allocations: 7.953 kB / 1.358 GB, free: 3.02 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.678e-05/0.3864, allocations: 8.375 kB / 1.358 GB, free: 3.012 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3864, allocations: 4 kB / 1.358 GB, free: 3.008 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3864, allocations: 4.062 kB / 1.358 GB, free: 3.004 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.3864, allocations: 0 / 1.358 GB, free: 3.004 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004892/0.3869, allocations: 345.5 kB / 1.358 GB, free: 2.617 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.3869, allocations: 4 kB / 1.358 GB, free: 2.613 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.448e-05/0.3869, allocations: 8 kB / 1.358 GB, free: 2.605 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.3869, allocations: 3.984 kB / 1.358 GB, free: 2.602 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.3869, allocations: 0 / 1.358 GB, free: 2.602 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3869, allocations: 0 / 1.358 GB, free: 2.602 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.3869, allocations: 4 kB / 1.358 GB, free: 2.598 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003161/0.3873, allocations: 219.3 kB / 1.358 GB, free: 2.367 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.701e-05/0.3873, allocations: 7.891 kB / 1.359 GB, free: 2.359 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.3873, allocations: 4 kB / 1.359 GB, free: 2.355 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.446e-05/0.3874, allocations: 11.98 kB / 1.359 GB, free: 2.344 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-05/0.3874, allocations: 7.922 kB / 1.359 GB, free: 2.336 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.3874, allocations: 4 kB / 1.359 GB, free: 2.332 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.886e-05/0.3875, allocations: 91.27 kB / 1.359 GB, free: 2.242 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3875, allocations: 0 / 1.359 GB, free: 2.242 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000261/0.3877, allocations: 24 kB / 1.359 GB, free: 2.219 MB / 1.045 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.0006549/0.3884, allocations: 0.7445 MB / 1.359 GB, free: 1.449 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003706/0.3888, allocations: 163.3 kB / 1.36 GB, free: 1.277 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3888, allocations: 0 / 1.36 GB, free: 1.277 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.3889, allocations: 35.97 kB / 1.36 GB, free: 1.242 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.3892, allocations: 19.86 kB / 1.36 GB, free: 1.223 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002232/0.3915, allocations: 1.693 MB / 1.361 GB, free: 15.41 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.3918, allocations: 0.6924 MB / 1.362 GB, free: 14.7 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.696e-05/0.3918, allocations: 4 kB / 1.362 GB, free: 14.69 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.662e-05/0.3919, allocations: 23.42 kB / 1.362 GB, free: 14.67 MB / 1.061 GB Notification: Performance of SimCode: time 8.81e-07/0.3919, allocations: 0 / 1.362 GB, free: 14.67 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03197/0.4239, allocations: 2.698 MB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.61, allocations: 11.91 kB / 1.365 GB, free: 12.11 MB / 1.061 GB " [Timeout remaining time 288] (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 --stepSize=0.002 --timeout=800 --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) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.800837401067838]