Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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.001605/0.001605, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001908/0.001908, allocations: 173.3 kB / 23.49 MB, free: 1.062 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 1.019/1.019, allocations: 177.1 MB / 203.8 MB, free: 5.656 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 2.051/2.051, allocations: 429.5 MB / 0.6736 GB, free: 4.051 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulOr0.y|mulOr1.u.[0-9,]+.|mulOr1.y|mulOr2.u.[0-9,]+.|mulOr2.y|mulOr5.u.[0-9,]+.|mulOr5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mulOr0.y|mulOr1.u.[0-9,]+.|mulOr1.y|mulOr2.u.[0-9,]+.|mulOr2.y|mulOr5.u.[0-9,]+.|mulOr5.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 5.421e-06/5.421e-06, allocations: 0 / 0.8782 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.861e-05/5.403e-05, allocations: 7.344 kB / 0.8782 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002709/0.002763, allocations: 0.8381 MB / 0.879 GB, free: 5.824 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002548/0.005311, allocations: 1.533 MB / 0.8805 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.005432, allocations: 7.875 kB / 0.8805 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001654/0.005597, allocations: 16.33 kB / 0.8805 GB, free: 4.258 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.161e-05/0.005659, allocations: 39.16 kB / 0.8806 GB, free: 4.223 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009528/0.006612, allocations: 0.4956 MB / 0.8811 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004632/0.007075, allocations: 492.5 kB / 0.8815 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/0.00724, allocations: 25.67 kB / 0.8816 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002091/0.007449, allocations: 252.5 kB / 0.8818 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/0.007637, allocations: 151.6 kB / 0.8819 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.512e-05/0.007692, allocations: 41.53 kB / 0.882 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.901e-05/0.007791, allocations: 52 kB / 0.882 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.892e-05/0.00785, allocations: 39.83 kB / 0.8821 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.007981, allocations: 135.8 kB / 0.8822 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003476/0.008329, allocations: 359.1 kB / 0.8825 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.008335, allocations: 3.938 kB / 0.8825 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.325e-06/0.008337, allocations: 3.938 kB / 0.8825 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.008344, allocations: 0 / 0.8825 GB, free: 2.203 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000649/0.008993, allocations: 0.6721 MB / 0.8832 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.009033, allocations: 8.031 kB / 0.8832 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.435e-05/0.009127, allocations: 40.84 kB / 0.8832 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.009377, allocations: 205 kB / 0.8834 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.009398, allocations: 16.38 kB / 0.8835 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.823e-05/0.009446, allocations: 32.36 kB / 0.8835 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.009644, allocations: 130.6 kB / 0.8836 GB, free: 1 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.009652, allocations: 4.188 kB / 0.8836 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.009666, allocations: 384 / 0.8836 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.009678, allocations: 4.375 kB / 0.8836 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.518e-05/0.009753, allocations: 41.53 kB / 0.8837 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008099/0.01056, allocations: 0.6582 MB / 0.8843 GB, free: 260 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.01074, allocations: 71.03 kB / 0.8844 GB, free: 176 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.037e-05/0.01079, allocations: 31.67 kB / 0.8844 GB, free: 140 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.0108, allocations: 0 / 0.8844 GB, free: 140 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00021/0.01101, allocations: 161.5 kB / 0.8846 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=20): time 1.583e-06/0.01101, allocations: 0 / 0.8846 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20): time 0.0003627/0.01137, allocations: 207.4 kB / 0.8848 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.01142, allocations: 59.34 kB / 0.8848 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.01157, allocations: 255.1 kB / 0.8851 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.942e-05/0.01161, allocations: 37.7 kB / 0.8851 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.01172, allocations: 175.4 kB / 0.8853 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.01175, allocations: 43.73 kB / 0.8853 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.01188, allocations: 119.3 kB / 0.8854 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.01203, allocations: 0.4962 MB / 0.8859 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002624/0.0123, allocations: 288.5 kB / 0.8862 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003277/0.01262, allocations: 398.2 kB / 0.8866 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003136/0.01294, allocations: 412.6 kB / 0.8869 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.01294, allocations: 0 / 0.8869 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006859/0.01363, allocations: 0.7442 MB / 0.8877 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001063/0.01373, allocations: 166.8 kB / 0.8878 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.01374, allocations: 4.344 kB / 0.8878 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.01376, allocations: 8 kB / 0.8878 GB, free: 12.24 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.468e-05/0.01378, allocations: 11.92 kB / 0.8879 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.01379, allocations: 4 kB / 0.8879 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003298/0.01412, allocations: 103.7 kB / 0.888 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.406e-05/0.01417, allocations: 39.95 kB / 0.888 GB, free: 12.09 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulOr5.uTemp[4],mulOr5.uTemp[3],mulOr5.uTemp[2],mulOr5.y,mulOr2.y,mulOr0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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.0001225/0.01429, allocations: 184.5 kB / 0.8882 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.01432, allocations: 35.84 kB / 0.8882 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.44e-05/0.01435, allocations: 13.81 kB / 0.8882 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.01435, allocations: 4 kB / 0.8882 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.01436, allocations: 0 / 0.8882 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.01436, allocations: 7.922 kB / 0.8882 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003756/0.01474, allocations: 471.1 kB / 0.8887 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.01474, allocations: 0 / 0.8887 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.05e-05/0.01475, allocations: 11.94 kB / 0.8887 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.01475, allocations: 0 / 0.8887 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.01477, allocations: 11.98 kB / 0.8887 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.01477, allocations: 7.875 kB / 0.8887 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.01477, allocations: 0 / 0.8887 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.01497, allocations: 311.8 kB / 0.889 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.461e-05/0.01498, allocations: 11.91 kB / 0.889 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.015, allocations: 3.984 kB / 0.889 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.245e-05/0.01504, allocations: 11.94 kB / 0.889 GB, free: 10.95 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.869e-05/0.01509, allocations: 15.97 kB / 0.8891 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.0151, allocations: 8 kB / 0.8891 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.258e-05/0.01517, allocations: 163.1 kB / 0.8892 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01517, allocations: 0 / 0.8892 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002373/0.0154, allocations: 83.89 kB / 0.8893 GB, free: 10.69 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001753/0.01558, allocations: 112.4 kB / 0.8894 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005621/0.01614, allocations: 0.6679 MB / 0.8901 GB, free: 9.805 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.01614, allocations: 128 / 0.8901 GB, free: 9.805 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.694e-05/0.01622, allocations: 79.53 kB / 0.8901 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.01652, allocations: 44 kB / 0.8902 GB, free: 9.68 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004738/0.01699, allocations: 316.8 kB / 0.8905 GB, free: 9.344 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.849e-05/0.01704, allocations: 71.98 kB / 0.8905 GB, free: 9.254 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.52e-05/0.01709, allocations: 25.48 kB / 0.8906 GB, free: 9.23 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.33e-05/0.01712, allocations: 28.44 kB / 0.8906 GB, free: 9.203 MB / 0.8542 GB Notification: Performance of SimCode: time 1.272e-06/0.01712, allocations: 0 / 0.8906 GB, free: 9.203 MB / 0.8542 GB Notification: Performance of Templates: time 0.006669/0.02379, allocations: 5.084 MB / 0.8956 GB, free: 4.234 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.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.853956765960902]