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.001906/0.001906, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002514/0.002514, allocations: 208 kB / 22.24 MB, free: 5.262 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.483/1.483, allocations: 230.6 MB / 256 MB, free: 7.777 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.392/3.392, allocations: 0.5107 GB / 0.8158 GB, free: 17.78 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.002196/0.002196, allocations: 69.56 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4004/0.4026, allocations: 181.9 MB / 1.363 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.003173/0.4058, allocations: 0.7325 MB / 1.364 GB, free: 13.32 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00242/0.4082, allocations: 1.168 MB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.584e-05/0.4083, allocations: 0 / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.936e-05/0.4083, allocations: 7.922 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.4084, allocations: 3.938 kB / 1.365 GB, free: 12.13 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000765/0.4092, allocations: 136.1 kB / 1.365 GB, free: 12 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002978/0.4095, allocations: 123.7 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.4096, allocations: 15.98 kB / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001638/0.4098, allocations: 51.89 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.4099, allocations: 39.83 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.861e-05/0.41, allocations: 8 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.4101, allocations: 19.98 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.601e-05/0.4101, allocations: 15.97 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.208e-05/0.4102, allocations: 43.8 kB / 1.366 GB, free: 11.69 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002777/0.4105, allocations: 115.9 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4105, allocations: 0 / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4105, allocations: 4 kB / 1.366 GB, free: 11.57 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.4105, allocations: 0 / 1.366 GB, free: 11.57 MB / 1.061 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.0007575/0.4112, allocations: 335.8 kB / 1.366 GB, free: 11.21 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.4113, allocations: 12.03 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.73e-05/0.4113, allocations: 30.75 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.42e-05/0.4114, allocations: 4.938 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.4115, allocations: 122.4 kB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.4115, allocations: 8.375 kB / 1.366 GB, free: 11 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.497e-05/0.4116, allocations: 12.36 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/0.4118, allocations: 62.23 kB / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.4118, allocations: 3.938 kB / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.4118, allocations: 0 / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.4118, allocations: 4 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000257/0.4121, allocations: 35.95 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006544/0.4128, allocations: 287.8 kB / 1.367 GB, free: 10.55 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002585/0.413, allocations: 58.61 kB / 1.367 GB, free: 10.49 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.4132, allocations: 32.97 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.4132, allocations: 0 / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003873/0.4136, allocations: 87.3 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.924e-06/0.4136, allocations: 0 / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.0006548/0.4142, allocations: 149.6 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.018e-05/0.4143, allocations: 55.41 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.4145, allocations: 121.8 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.032e-05/0.4145, allocations: 29.7 kB / 1.367 GB, free: 9.973 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.4146, allocations: 96.08 kB / 1.367 GB, free: 9.875 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/0.4146, allocations: 15.84 kB / 1.367 GB, free: 9.859 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.4148, allocations: 37.7 kB / 1.367 GB, free: 9.816 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002085/0.415, allocations: 326.8 kB / 1.368 GB, free: 9.488 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002974/0.4153, allocations: 89.59 kB / 1.368 GB, free: 9.395 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003145/0.4156, allocations: 118 kB / 1.368 GB, free: 9.258 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004338/0.416, allocations: 141.9 kB / 1.368 GB, free: 9.098 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.416, allocations: 0 / 1.368 GB, free: 9.098 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007462/0.4168, allocations: 241 kB / 1.368 GB, free: 8.844 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.852e-05/0.4168, allocations: 45.69 kB / 1.368 GB, free: 8.793 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.4168, allocations: 0 / 1.368 GB, free: 8.793 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/0.4169, allocations: 4 kB / 1.368 GB, free: 8.789 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.417, allocations: 12.05 kB / 1.368 GB, free: 8.777 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.417, allocations: 4 kB / 1.368 GB, free: 8.773 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003072/0.4173, allocations: 31.95 kB / 1.368 GB, free: 8.742 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.409e-05/0.4174, allocations: 11.94 kB / 1.368 GB, free: 8.73 MB / 1.061 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.0001724/0.4175, allocations: 133.7 kB / 1.368 GB, free: 8.59 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.074e-05/0.4176, allocations: 3.953 kB / 1.368 GB, free: 8.586 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.016e-05/0.4176, allocations: 16.36 kB / 1.368 GB, free: 8.566 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.4176, allocations: 0 / 1.368 GB, free: 8.566 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.4176, allocations: 0 / 1.368 GB, free: 8.566 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.4176, allocations: 0 / 1.368 GB, free: 8.566 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007144/0.4183, allocations: 345.8 kB / 1.369 GB, free: 8.18 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.4183, allocations: 0 / 1.369 GB, free: 8.18 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.475e-05/0.4184, allocations: 15.92 kB / 1.369 GB, free: 8.164 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.4184, allocations: 0 / 1.369 GB, free: 8.164 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.4185, allocations: 7.938 kB / 1.369 GB, free: 8.156 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.4185, allocations: 0 / 1.369 GB, free: 8.156 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4185, allocations: 0 / 1.369 GB, free: 8.156 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004461/0.4189, allocations: 207.4 kB / 1.369 GB, free: 7.938 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.717e-05/0.4189, allocations: 11.89 kB / 1.369 GB, free: 7.926 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.91e-05/0.4189, allocations: 3.984 kB / 1.369 GB, free: 7.922 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.4191, allocations: 4 kB / 1.369 GB, free: 7.918 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.751e-05/0.4191, allocations: 23.91 kB / 1.369 GB, free: 7.895 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.4192, allocations: 4 kB / 1.369 GB, free: 7.891 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.631e-05/0.4193, allocations: 95.75 kB / 1.369 GB, free: 7.797 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4193, allocations: 0 / 1.369 GB, free: 7.797 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004702/0.4197, allocations: 20 kB / 1.369 GB, free: 7.777 MB / 1.061 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.001007/0.4207, allocations: 0.7475 MB / 1.37 GB, free: 7.004 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006281/0.4214, allocations: 193 kB / 1.37 GB, free: 6.797 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.4214, allocations: 0 / 1.37 GB, free: 6.797 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001906/0.4216, allocations: 39.91 kB / 1.37 GB, free: 6.758 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004803/0.422, allocations: 15.94 kB / 1.37 GB, free: 6.742 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003476/0.4255, allocations: 1.808 MB / 1.372 GB, free: 4.797 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.4256, allocations: 75.19 kB / 1.372 GB, free: 4.703 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.781e-05/0.4257, allocations: 7.938 kB / 1.372 GB, free: 4.695 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.406e-05/0.4257, allocations: 23.42 kB / 1.372 GB, free: 4.672 MB / 1.061 GB Notification: Performance of SimCode: time 7.11e-07/0.4257, allocations: 0 / 1.372 GB, free: 4.672 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03816/0.4639, allocations: 3.219 MB / 1.375 GB, free: 1.609 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/12.01, allocations: 5.891 kB / 1.375 GB, free: 1.605 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: 19.01607225323096]