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.0009865/0.0009865, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008262/0.0008262, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8736/0.8736, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.754/1.754, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 3.968e-06/3.968e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.601e-05/1.998e-05, allocations: 8.812 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001237/0.001257, allocations: 0.7247 MB / 1 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001017/0.002274, allocations: 1.171 MB / 1.002 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.227e-05/0.002316, allocations: 4 kB / 1.002 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.517e-05/0.002341, allocations: 3.938 kB / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.483e-05/0.002406, allocations: 15.81 kB / 1.002 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003678/0.002774, allocations: 125.4 kB / 1.002 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001325/0.002906, allocations: 127.7 kB / 1.002 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.352e-05/0.00299, allocations: 11.98 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 9.55e-05/0.003085, allocations: 67.88 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.687e-05/0.003152, allocations: 31.95 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.003172, allocations: 12 kB / 1.002 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.067e-05/0.003223, allocations: 23.97 kB / 1.002 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.205e-05/0.003245, allocations: 11.94 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.594e-05/0.003291, allocations: 35.91 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.003453, allocations: 127.7 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.794e-06/0.003455, allocations: 0 / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of FrontEnd: time 9.92e-07/0.003456, allocations: 4 kB / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.003459, allocations: 0 / 1.002 GB, free: 10.99 MB / 0.9636 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.0004102/0.00387, allocations: 335.8 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.003906, allocations: 8.75 kB / 1.002 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.248e-05/0.003928, allocations: 38.69 kB / 1.002 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.352e-05/0.003962, allocations: 12.89 kB / 1.002 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.577e-05/0.004038, allocations: 117.6 kB / 1.003 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.00405, allocations: 8.375 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.004065, allocations: 8.359 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.004191, allocations: 66.22 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.004198, allocations: 192 / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.004206, allocations: 384 / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.004211, allocations: 4.125 kB / 1.003 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.004312, allocations: 47.95 kB / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003525/0.004664, allocations: 271.9 kB / 1.003 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.004783, allocations: 54.61 kB / 1.003 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.525e-05/0.004839, allocations: 32.97 kB / 1.003 GB, free: 9.875 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.00485, allocations: 3.938 kB / 1.003 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001684/0.005018, allocations: 87.36 kB / 1.003 GB, free: 9.773 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.005019, allocations: 3.938 kB / 1.003 GB, free: 9.77 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8): time 0.0004195/0.005439, allocations: 145.6 kB / 1.003 GB, free: 9.621 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.005474, allocations: 63.39 kB / 1.003 GB, free: 9.547 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.217e-05/0.005536, allocations: 117.8 kB / 1.003 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.005554, allocations: 29.7 kB / 1.004 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.099e-05/0.005595, allocations: 92.09 kB / 1.004 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.005613, allocations: 19.89 kB / 1.004 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.864e-05/0.005662, allocations: 37.7 kB / 1.004 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.203e-05/0.005734, allocations: 322.8 kB / 1.004 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.005842, allocations: 85.59 kB / 1.004 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.005952, allocations: 121.9 kB / 1.004 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001501/0.006102, allocations: 149.8 kB / 1.004 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.006104, allocations: 0 / 1.004 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002688/0.006372, allocations: 244.8 kB / 1.005 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.889e-05/0.006401, allocations: 37.69 kB / 1.005 GB, free: 8.207 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.006407, allocations: 0 / 1.005 GB, free: 8.207 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.00642, allocations: 4 kB / 1.005 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.162e-05/0.006481, allocations: 15.92 kB / 1.005 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.006486, allocations: 4.125 kB / 1.005 GB, free: 8.184 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.006593, allocations: 35.91 kB / 1.005 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.006608, allocations: 11.98 kB / 1.005 GB, free: 8.137 MB / 0.9636 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 6.554e-05/0.006674, allocations: 120.1 kB / 1.005 GB, free: 8.012 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.071e-05/0.006684, allocations: 7.891 kB / 1.005 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.214e-05/0.006706, allocations: 12.44 kB / 1.005 GB, free: 7.992 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.00671, allocations: 3.984 kB / 1.005 GB, free: 7.988 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.006715, allocations: 7.984 kB / 1.005 GB, free: 7.98 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.006718, allocations: 0 / 1.005 GB, free: 7.98 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002901/0.007008, allocations: 345.5 kB / 1.005 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.007009, allocations: 0 / 1.005 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.485e-05/0.007034, allocations: 7.984 kB / 1.005 GB, free: 7.586 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.007036, allocations: 0 / 1.005 GB, free: 7.586 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.007044, allocations: 8 kB / 1.005 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.007046, allocations: 3.938 kB / 1.005 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.007047, allocations: 0 / 1.005 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001594/0.007207, allocations: 207.4 kB / 1.005 GB, free: 7.355 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.586e-06/0.007215, allocations: 3.953 kB / 1.005 GB, free: 7.352 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.007229, allocations: 4 kB / 1.005 GB, free: 7.348 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.491e-05/0.007274, allocations: 11.98 kB / 1.005 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.007308, allocations: 3.984 kB / 1.005 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.361e-06/0.007314, allocations: 4 kB / 1.005 GB, free: 7.328 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.37e-05/0.007348, allocations: 91.27 kB / 1.005 GB, free: 7.238 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.007348, allocations: 0 / 1.005 GB, free: 7.238 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001766/0.007524, allocations: 31.94 kB / 1.005 GB, free: 7.207 MB / 0.9636 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.0003862/0.00791, allocations: 0.7585 MB / 1.006 GB, free: 6.422 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002375/0.008148, allocations: 185 kB / 1.006 GB, free: 6.223 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.00815, allocations: 0 / 1.006 GB, free: 6.223 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.73e-05/0.008217, allocations: 44.3 kB / 1.006 GB, free: 6.18 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/0.008423, allocations: 16.08 kB / 1.006 GB, free: 6.164 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.009735, allocations: 1.8 MB / 1.008 GB, free: 4.219 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.447e-05/0.00978, allocations: 79.19 kB / 1.008 GB, free: 4.121 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.043e-05/0.00981, allocations: 4 kB / 1.008 GB, free: 4.117 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.934e-05/0.00985, allocations: 24.48 kB / 1.008 GB, free: 4.094 MB / 0.9636 GB Notification: Performance of SimCode: time 3.51e-07/0.00985, allocations: 0 / 1.008 GB, free: 4.094 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01537/0.02522, allocations: 3.379 MB / 1.012 GB, free: 0.8789 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.564/6.589, allocations: 6.297 kB / 1.012 GB, free: 0.875 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 10.558063678443432]