Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.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.00112/0.00112, 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.001558/0.001558, allocations: 177 kB / 23.49 MB, free: 1.059 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.9814/0.9814, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.165/2.165, allocations: 429.5 MB / 0.6736 GB, free: 4.055 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.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nor1.u1|nor1.u2|nor1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nor1.u1|nor1.u2|nor1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.435e-06/2.435e-06, allocations: 0 / 0.8782 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.597e-05/1.841e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.00122/0.001239, allocations: 0.666 MB / 0.8789 GB, free: 5.984 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.002491, allocations: 1.237 MB / 0.8801 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.089e-05/0.002542, allocations: 0 / 0.8801 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.22e-05/0.002574, allocations: 3.938 kB / 0.8801 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.177e-05/0.002656, allocations: 11.62 kB / 0.8801 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005757/0.003231, allocations: 208.9 kB / 0.8803 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.003419, allocations: 176.3 kB / 0.8804 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.231e-05/0.003511, allocations: 11.98 kB / 0.8805 GB, free: 4.34 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.003625, allocations: 96.98 kB / 0.8805 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.003729, allocations: 47.91 kB / 0.8806 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.597e-05/0.003755, allocations: 16 kB / 0.8806 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.642e-05/0.003811, allocations: 24.52 kB / 0.8806 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.166e-05/0.003833, allocations: 12.94 kB / 0.8806 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.169e-05/0.003895, allocations: 47.94 kB / 0.8807 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001891/0.004084, allocations: 143.6 kB / 0.8808 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.004086, allocations: 1.062 kB / 0.8808 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.02e-07/0.004087, allocations: 0 / 0.8808 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.004091, allocations: 0 / 0.8808 GB, free: 3.961 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004326/0.004523, allocations: 465.1 kB / 0.8813 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.004562, allocations: 16.02 kB / 0.8813 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.785e-05/0.00462, allocations: 12.89 kB / 0.8813 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.213e-05/0.004702, allocations: 114.1 kB / 0.8814 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.004719, allocations: 8.359 kB / 0.8814 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.004741, allocations: 12.38 kB / 0.8814 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.563e-05/0.004826, allocations: 42.23 kB / 0.8815 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.004833, allocations: 1.25 kB / 0.8815 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.004845, allocations: 4.375 kB / 0.8815 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.004854, allocations: 4.375 kB / 0.8815 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.677e-05/0.004881, allocations: 8.594 kB / 0.8815 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004022/0.005283, allocations: 328.3 kB / 0.8818 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.43e-05/0.005357, allocations: 39.05 kB / 0.8818 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.922e-05/0.005377, allocations: 15.22 kB / 0.8818 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.276e-06/0.005385, allocations: 7.984 kB / 0.8819 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001027/0.005488, allocations: 88.91 kB / 0.8819 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.005489, allocations: 3.938 kB / 0.8819 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0001996/0.005689, allocations: 97.61 kB / 0.882 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.005728, allocations: 55.41 kB / 0.8821 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.208e-05/0.00582, allocations: 177.9 kB / 0.8823 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.272e-05/0.005842, allocations: 29.7 kB / 0.8823 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.93e-05/0.005912, allocations: 142.8 kB / 0.8824 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.369e-05/0.005925, allocations: 11.95 kB / 0.8824 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.669e-05/0.005992, allocations: 51.34 kB / 0.8825 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.006101, allocations: 0.4884 MB / 0.883 GB, free: 1.566 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.006211, allocations: 115.3 kB / 0.8831 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.006326, allocations: 162.2 kB / 0.8832 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.006452, allocations: 161.8 kB / 0.8834 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.006456, allocations: 4 kB / 0.8834 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000294/0.00675, allocations: 328.2 kB / 0.8837 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.791e-05/0.006828, allocations: 63.39 kB / 0.8838 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.006839, allocations: 4 kB / 0.8838 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.006853, allocations: 0 / 0.8838 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.07e-05/0.006874, allocations: 11.94 kB / 0.8838 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.00688, allocations: 0 / 0.8838 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001696/0.00705, allocations: 48.03 kB / 0.8838 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/0.00707, allocations: 11.98 kB / 0.8838 GB, free: 0.5547 MB / 0.8386 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,nor1.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.193e-05/0.007152, allocations: 168.5 kB / 0.884 GB, free: 388 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.153e-05/0.007163, allocations: 7.938 kB / 0.884 GB, free: 380 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.262e-05/0.007186, allocations: 8.438 kB / 0.884 GB, free: 372 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.007189, allocations: 4 kB / 0.884 GB, free: 368 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.007193, allocations: 0 / 0.884 GB, free: 368 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.007197, allocations: 3.984 kB / 0.884 GB, free: 364 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.011e-05/0.007277, allocations: 128.6 kB / 0.8841 GB, free: 200 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.007279, allocations: 0 / 0.8841 GB, free: 200 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.648e-06/0.007283, allocations: 8 kB / 0.8841 GB, free: 192 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.007285, allocations: 0 / 0.8841 GB, free: 192 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.096e-06/0.007293, allocations: 3.938 kB / 0.8841 GB, free: 188 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.007294, allocations: 3.938 kB / 0.8842 GB, free: 184 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.007295, allocations: 0 / 0.8842 GB, free: 184 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/0.007398, allocations: 120.4 kB / 0.8843 GB, free: 40 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.476e-06/0.007406, allocations: 3.953 kB / 0.8843 GB, free: 36 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.007419, allocations: 11.86 kB / 0.8843 GB, free: 24 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.173e-05/0.007431, allocations: 4 kB / 0.8843 GB, free: 20 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.007468, allocations: 3.984 kB / 0.8843 GB, free: 16 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.007474, allocations: 8 kB / 0.8843 GB, free: 8 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.267e-05/0.007527, allocations: 131.2 kB / 0.8844 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.007527, allocations: 0 / 0.8844 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001586/0.007686, allocations: 31.94 kB / 0.8845 GB, free: 15.85 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nor1.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.0001102/0.007796, allocations: 103.2 kB / 0.8846 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002534/0.008049, allocations: 277.8 kB / 0.8848 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.008051, allocations: 0 / 0.8848 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.693e-05/0.008088, allocations: 27.67 kB / 0.8848 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001727/0.008261, allocations: 24.78 kB / 0.8849 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000283/0.008544, allocations: 150.8 kB / 0.885 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.536e-05/0.008579, allocations: 59.34 kB / 0.8851 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.43e-05/0.008603, allocations: 7.859 kB / 0.8851 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.952e-05/0.008623, allocations: 12.5 kB / 0.8851 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of SimCode: time 6.11e-07/0.008623, allocations: 0 / 0.8851 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of Templates: time 0.003584/0.01221, allocations: 2.065 MB / 0.8871 GB, free: 13.09 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.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.680914405966178]