Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.00102/0.00102, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001081/0.001081, allocations: 169 kB / 24.28 MB, free: 280 kB / 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 1.032/1.032, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.882/1.882, allocations: 359 MB / 0.6055 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Or,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|or1.u1|or1.u2|or1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.278e-06/4.278e-06, allocations: 0 / 0.7871 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.624e-05/4.052e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001587/0.001628, allocations: 0.6565 MB / 0.7878 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001223/0.002851, allocations: 1.23 MB / 0.789 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.617e-05/0.002897, allocations: 0 / 0.789 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.052e-05/0.002928, allocations: 4.688 kB / 0.789 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.708e-05/0.003005, allocations: 15.86 kB / 0.789 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005065/0.003511, allocations: 217.9 kB / 0.7892 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.0037, allocations: 167.7 kB / 0.7893 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.98e-05/0.0038, allocations: 13.44 kB / 0.7894 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.003915, allocations: 87.94 kB / 0.7894 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001139/0.004028, allocations: 55.84 kB / 0.7895 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.847e-05/0.004057, allocations: 16 kB / 0.7895 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.496e-05/0.004122, allocations: 25.11 kB / 0.7895 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.302e-05/0.004145, allocations: 11.98 kB / 0.7895 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.548e-05/0.00421, allocations: 47.91 kB / 0.7896 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.004399, allocations: 140.2 kB / 0.7897 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.004403, allocations: 0 / 0.7897 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.092e-06/0.004404, allocations: 1.406 kB / 0.7897 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.004409, allocations: 0 / 0.7897 GB, free: 10.11 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004949/0.004904, allocations: 467.8 kB / 0.7902 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.004944, allocations: 8.031 kB / 0.7902 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.663e-05/0.00501, allocations: 17.91 kB / 0.7902 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.68e-05/0.005107, allocations: 120.5 kB / 0.7903 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.005124, allocations: 5.344 kB / 0.7903 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.005146, allocations: 8.375 kB / 0.7903 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.968e-05/0.005246, allocations: 50.17 kB / 0.7904 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.005254, allocations: 1.312 kB / 0.7904 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.005264, allocations: 4.375 kB / 0.7904 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.005273, allocations: 384 / 0.7904 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.851e-05/0.005301, allocations: 17.59 kB / 0.7904 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003815/0.005683, allocations: 323.7 kB / 0.7907 GB, free: 8.992 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.284e-05/0.005756, allocations: 42.98 kB / 0.7907 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.177e-05/0.005778, allocations: 11.69 kB / 0.7908 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.111e-06/0.005784, allocations: 1.594 kB / 0.7908 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001103/0.005894, allocations: 89.03 kB / 0.7908 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.005895, allocations: 0 / 0.7908 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002071/0.006102, allocations: 102.9 kB / 0.7909 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.00614, allocations: 55.41 kB / 0.791 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.986e-05/0.00624, allocations: 177.9 kB / 0.7912 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.006262, allocations: 33.7 kB / 0.7912 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.955e-05/0.006321, allocations: 137.8 kB / 0.7913 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.369e-05/0.006335, allocations: 15.89 kB / 0.7913 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.479e-05/0.0064, allocations: 55.34 kB / 0.7914 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.006531, allocations: 0.4884 MB / 0.7919 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.006642, allocations: 111.4 kB / 0.792 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.006757, allocations: 161.8 kB / 0.7921 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.006882, allocations: 159 kB / 0.7923 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.006885, allocations: 0 / 0.7923 GB, free: 7.203 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003024/0.007188, allocations: 321.5 kB / 0.7926 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.378e-05/0.007232, allocations: 72.55 kB / 0.7927 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.007236, allocations: 3.938 kB / 0.7927 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.00725, allocations: 0 / 0.7927 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.791e-05/0.007268, allocations: 5.156 kB / 0.7927 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.007274, allocations: 0 / 0.7927 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/0.007447, allocations: 45.7 kB / 0.7927 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.007467, allocations: 8 kB / 0.7927 GB, free: 6.719 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,or1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 8.821e-05/0.007555, allocations: 178.8 kB / 0.7929 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.095e-05/0.007566, allocations: 13.08 kB / 0.7929 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.297e-05/0.007589, allocations: 12.44 kB / 0.7929 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.007591, allocations: 0 / 0.7929 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.007594, allocations: 0.5625 kB / 0.7929 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.007598, allocations: 0 / 0.7929 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.748e-05/0.007685, allocations: 130.2 kB / 0.793 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.42e-07/0.007686, allocations: 4 kB / 0.793 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.827e-06/0.00769, allocations: 0 / 0.793 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.21e-07/0.007691, allocations: 0 / 0.793 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.007699, allocations: 5.656 kB / 0.7931 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.007701, allocations: 4 kB / 0.7931 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.007701, allocations: 0 / 0.7931 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.007809, allocations: 120.3 kB / 0.7932 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.574e-06/0.007817, allocations: 4.016 kB / 0.7932 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.007833, allocations: 20.8 kB / 0.7932 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.186e-05/0.007845, allocations: 0 / 0.7932 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.007881, allocations: 4.531 kB / 0.7932 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.758e-06/0.007885, allocations: 3.984 kB / 0.7932 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.033e-05/0.007926, allocations: 131.9 kB / 0.7933 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.007926, allocations: 0 / 0.7933 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000161/0.008087, allocations: 32.52 kB / 0.7934 GB, free: 6.012 MB / 0.7448 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,or1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0001158/0.008203, allocations: 100.6 kB / 0.7935 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002567/0.008459, allocations: 278.6 kB / 0.7937 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.008461, allocations: 0 / 0.7937 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.424e-05/0.008495, allocations: 32.55 kB / 0.7938 GB, free: 5.555 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/0.008672, allocations: 19.89 kB / 0.7938 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002769/0.008949, allocations: 162.7 kB / 0.7939 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.692e-05/0.008986, allocations: 71.2 kB / 0.794 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.217e-05/0.009008, allocations: 6.031 kB / 0.794 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.371e-05/0.009032, allocations: 12.5 kB / 0.794 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of SimCode: time 6.61e-07/0.009032, allocations: 0 / 0.794 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of Templates: time 0.003758/0.01279, allocations: 2.046 MB / 0.796 GB, free: 3.273 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Or.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.349802592070773]