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.00083/0.00083, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007798/0.0007798, allocations: 174.3 kB / 23.21 MB, free: 1.355 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.8704/0.8704, allocations: 177.2 MB / 203.5 MB, free: 5.758 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.755/1.755, allocations: 389 MB / 0.6338 GB, free: 12.71 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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|change.u|change.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 1.001 GB, free: 13.01 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.505e-05, allocations: 4.953 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Change): time 0.001337/0.001362, allocations: 0.7321 MB / 1.002 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.00241, allocations: 1.175 MB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.136e-05/0.002451, allocations: 0 / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.511e-05/0.002476, allocations: 3.938 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.975e-05/0.002536, allocations: 15.88 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003669/0.002903, allocations: 127.6 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.003036, allocations: 119.7 kB / 1.003 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.495e-05/0.003121, allocations: 15.98 kB / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 9.6e-05/0.003217, allocations: 67.88 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.767e-05/0.003285, allocations: 31.95 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.003304, allocations: 8 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.991e-05/0.003354, allocations: 23.98 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.973e-05/0.003374, allocations: 15.92 kB / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.612e-05/0.00342, allocations: 35.91 kB / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.003577, allocations: 123.7 kB / 1.003 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.003579, allocations: 0 / 1.003 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.41e-07/0.003579, allocations: 0 / 1.003 GB, free: 10.51 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.003583, allocations: 0 / 1.003 GB, free: 10.51 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.0004258/0.004009, allocations: 335.8 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.004043, allocations: 17.28 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.276e-05/0.004086, allocations: 12.89 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.933e-05/0.004165, allocations: 113.7 kB / 1.004 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.004178, allocations: 8.375 kB / 1.004 GB, free: 9.973 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.004193, allocations: 4.375 kB / 1.004 GB, free: 9.969 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001391/0.004332, allocations: 66.22 kB / 1.004 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.004342, allocations: 192 / 1.004 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.004351, allocations: 384 / 1.004 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.004357, allocations: 8.359 kB / 1.004 GB, free: 9.891 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.004461, allocations: 47.89 kB / 1.004 GB, free: 9.844 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003957/0.004857, allocations: 256.4 kB / 1.004 GB, free: 9.562 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.004985, allocations: 54.61 kB / 1.004 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.683e-05/0.005042, allocations: 32.95 kB / 1.004 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.005057, allocations: 8 kB / 1.004 GB, free: 9.457 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001587/0.005215, allocations: 95.22 kB / 1.004 GB, free: 9.352 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.005217, allocations: 0 / 1.004 GB, free: 9.352 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8): time 0.0002766/0.005493, allocations: 141.6 kB / 1.004 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.005529, allocations: 55.41 kB / 1.005 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.229e-05/0.005591, allocations: 121.8 kB / 1.005 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.005609, allocations: 33.7 kB / 1.005 GB, free: 8.973 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.72e-05/0.005656, allocations: 100 kB / 1.005 GB, free: 8.871 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.005674, allocations: 19.84 kB / 1.005 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.076e-05/0.005725, allocations: 37.69 kB / 1.005 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.525e-05/0.0058, allocations: 314.8 kB / 1.005 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001038/0.005904, allocations: 81.66 kB / 1.005 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.006016, allocations: 128.6 kB / 1.005 GB, free: 8.262 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.006165, allocations: 149.8 kB / 1.005 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.006167, allocations: 0 / 1.005 GB, free: 8.094 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002571/0.006425, allocations: 240.8 kB / 1.006 GB, free: 7.84 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.00645, allocations: 37.7 kB / 1.006 GB, free: 7.797 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.006455, allocations: 3.938 kB / 1.006 GB, free: 7.793 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.006467, allocations: 8.125 kB / 1.006 GB, free: 7.785 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.826e-05/0.006525, allocations: 11.98 kB / 1.006 GB, free: 7.773 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.006529, allocations: 0 / 1.006 GB, free: 7.773 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.006631, allocations: 35.95 kB / 1.006 GB, free: 7.738 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.006645, allocations: 8 kB / 1.006 GB, free: 7.73 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.599e-05/0.006711, allocations: 125.8 kB / 1.006 GB, free: 7.598 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.755e-06/0.006718, allocations: 7.891 kB / 1.006 GB, free: 7.59 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.835e-05/0.006747, allocations: 16.44 kB / 1.006 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.00675, allocations: 0 / 1.006 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.006753, allocations: 0 / 1.006 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.006757, allocations: 0 / 1.006 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002829/0.007039, allocations: 318 kB / 1.006 GB, free: 7.227 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.00704, allocations: 0 / 1.006 GB, free: 7.227 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.775e-05/0.007068, allocations: 15.92 kB / 1.006 GB, free: 7.211 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.00707, allocations: 0 / 1.006 GB, free: 7.211 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.007077, allocations: 4.062 kB / 1.006 GB, free: 7.207 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.007078, allocations: 4 kB / 1.006 GB, free: 7.203 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.007079, allocations: 4 kB / 1.006 GB, free: 7.199 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.007231, allocations: 203.4 kB / 1.006 GB, free: 6.984 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.995e-06/0.007239, allocations: 7.953 kB / 1.006 GB, free: 6.977 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.007255, allocations: 7.984 kB / 1.006 GB, free: 6.969 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.025e-05/0.007295, allocations: 4 kB / 1.006 GB, free: 6.965 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.317e-05/0.007328, allocations: 7.984 kB / 1.006 GB, free: 6.957 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.007334, allocations: 0 / 1.006 GB, free: 6.957 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.628e-05/0.00737, allocations: 103.3 kB / 1.007 GB, free: 6.855 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.00737, allocations: 0 / 1.007 GB, free: 6.855 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001714/0.007542, allocations: 20 kB / 1.007 GB, free: 6.836 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.0001144/0.007656, allocations: 111.1 kB / 1.007 GB, free: 6.715 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002314/0.007888, allocations: 189 kB / 1.007 GB, free: 6.512 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.007889, allocations: 0 / 1.007 GB, free: 6.512 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.29e-05/0.007952, allocations: 40.69 kB / 1.007 GB, free: 6.473 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000196/0.008148, allocations: 20.03 kB / 1.007 GB, free: 6.453 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002821/0.00843, allocations: 187.2 kB / 1.007 GB, free: 6.234 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.614e-05/0.008476, allocations: 75.2 kB / 1.007 GB, free: 6.141 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.358e-05/0.0085, allocations: 20.44 kB / 1.007 GB, free: 6.121 MB / 0.9636 GB Notification: Performance of SimCode: time 3.71e-07/0.0085, allocations: 0 / 1.007 GB, free: 6.121 MB / 0.9636 GB Notification: Performance of Templates: time 0.002083/0.01058, allocations: 1.279 MB / 1.008 GB, free: 4.852 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1) [Timeout 800] 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: 6.578910144045949]