Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 105.5 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001711/0.001711, allocations: 196.5 kB / 19.41 MB, free: 3.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.713/2.713, allocations: 476.7 MB / 0.7611 GB, free: 11.31 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 71.89 kB / 1.104 GB, free: 9.223 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.862/0.864, allocations: 168.7 MB / 1.269 GB, free: 5.121 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.002131/0.8661, allocations: 0.7456 MB / 1.269 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001671/0.8678, allocations: 1.156 MB / 1.271 GB, free: 3.211 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.432e-05/0.8678, allocations: 4 kB / 1.271 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.855e-05/0.8679, allocations: 7.875 kB / 1.271 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.226e-05/0.8679, allocations: 7.922 kB / 1.271 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005644/0.8685, allocations: 131 kB / 1.271 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.8687, allocations: 119.7 kB / 1.271 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.8688, allocations: 8 kB / 1.271 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.869, allocations: 55.84 kB / 1.271 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.8691, allocations: 47.86 kB / 1.271 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.059e-05/0.8691, allocations: 12 kB / 1.271 GB, free: 2.828 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.595e-05/0.8692, allocations: 27.92 kB / 1.271 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.352e-05/0.8692, allocations: 8 kB / 1.271 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.375e-05/0.8693, allocations: 39.84 kB / 1.271 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.8695, allocations: 117.4 kB / 1.271 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.8695, allocations: 0 / 1.271 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8695, allocations: 0 / 1.271 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.8695, allocations: 0 / 1.271 GB, free: 2.641 MB / 0.9669 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.0006849/0.8702, allocations: 420.8 kB / 1.272 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.8702, allocations: 12.03 kB / 1.272 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.603e-05/0.8703, allocations: 34.75 kB / 1.272 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.512e-05/0.8703, allocations: 4.938 kB / 1.272 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.8705, allocations: 176.3 kB / 1.272 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.8705, allocations: 4.375 kB / 1.272 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.8705, allocations: 8.375 kB / 1.272 GB, free: 1.891 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.8707, allocations: 58.23 kB / 1.272 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.8707, allocations: 7.938 kB / 1.272 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.8707, allocations: 7.922 kB / 1.272 GB, free: 1.812 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.8707, allocations: 4 kB / 1.272 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001674/0.8709, allocations: 35.97 kB / 1.272 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005331/0.8714, allocations: 344.5 kB / 1.272 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.8716, allocations: 62.59 kB / 1.272 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.8717, allocations: 28.95 kB / 1.272 GB, free: 1.285 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.8717, allocations: 8 kB / 1.272 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002574/0.872, allocations: 87.3 kB / 1.272 GB, free: 1.18 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.872, allocations: 7.938 kB / 1.272 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of matching and sorting (n=8): time 0.0004353/0.8724, allocations: 137.6 kB / 1.273 GB, free: 1.031 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.8725, allocations: 55.41 kB / 1.273 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.8726, allocations: 121.8 kB / 1.273 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/0.8726, allocations: 37.69 kB / 1.273 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.444e-05/0.8727, allocations: 92.2 kB / 1.273 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.8727, allocations: 23.86 kB / 1.273 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.38e-05/0.8728, allocations: 37.69 kB / 1.273 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.8729, allocations: 318.8 kB / 1.273 GB, free: 320 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.8731, allocations: 55.95 kB / 1.273 GB, free: 264 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/0.8732, allocations: 88.19 kB / 1.273 GB, free: 160 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002639/0.8735, allocations: 137.9 kB / 1.273 GB, free: 0 / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.902e-05/0.8735, allocations: 4.047 kB / 1.273 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000442/0.874, allocations: 207.2 kB / 1.274 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.154e-05/0.874, allocations: 33.7 kB / 1.274 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.874, allocations: 4 kB / 1.274 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.874, allocations: 0 / 1.274 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.901e-05/0.8741, allocations: 15.92 kB / 1.274 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/0.8741, allocations: 4 kB / 1.274 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/0.8743, allocations: 40.08 kB / 1.274 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.8743, allocations: 4 kB / 1.274 GB, free: 15.68 MB / 0.9825 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.0001138/0.8745, allocations: 131.9 kB / 1.274 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.521e-05/0.8745, allocations: 7.953 kB / 1.274 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.089e-05/0.8745, allocations: 12.31 kB / 1.274 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.8745, allocations: 0 / 1.274 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.8745, allocations: 4 kB / 1.274 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.8745, allocations: 0 / 1.274 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004905/0.875, allocations: 378.5 kB / 1.274 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.875, allocations: 7.938 kB / 1.274 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.499e-05/0.8751, allocations: 15.92 kB / 1.274 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.8751, allocations: 4 kB / 1.274 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.8751, allocations: 0 / 1.274 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.8751, allocations: 0 / 1.274 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.8751, allocations: 0 / 1.274 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003026/0.8754, allocations: 211.4 kB / 1.275 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.291e-05/0.8754, allocations: 85.06 kB / 1.275 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.8755, allocations: 4 kB / 1.275 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.166e-05/0.8755, allocations: 7.984 kB / 1.275 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.8756, allocations: 11.92 kB / 1.275 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.8756, allocations: 4 kB / 1.275 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.046e-05/0.8756, allocations: 99.27 kB / 1.275 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8756, allocations: 0 / 1.275 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002553/0.8759, allocations: 20 kB / 1.275 GB, free: 14.59 MB / 0.9825 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.000713/0.8766, allocations: 0.7441 MB / 1.275 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.00037/0.877, allocations: 163.8 kB / 1.276 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.877, allocations: 0 / 1.276 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.8771, allocations: 43.89 kB / 1.276 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.8774, allocations: 25.94 kB / 1.276 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002138/0.8796, allocations: 1.688 MB / 1.277 GB, free: 11.78 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.8799, allocations: 0.6885 MB / 1.278 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.548e-05/0.8799, allocations: 4 kB / 1.278 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.684e-05/0.88, allocations: 23.42 kB / 1.278 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of SimCode: time 4.71e-07/0.88, allocations: 0 / 1.278 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02723/0.9072, allocations: 2.563 MB / 1.281 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.108/9.016, allocations: 12.7 kB / 1.281 GB, free: 8.57 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Change_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Change.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.018704182934016]