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.001578/0.001578, allocations: 73.09 kB / 20.65 MB, free: 3.848 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.002324/0.002324, allocations: 173 kB / 24.06 MB, free: 456 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.065/1.065, allocations: 177.1 MB / 204.5 MB, free: 5.539 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.295/2.295, allocations: 429.5 MB / 0.6743 GB, free: 3.895 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.845e-06/2.845e-06, allocations: 0 / 0.8794 GB, free: 6 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.734e-05/3.019e-05, allocations: 2.312 kB / 0.8794 GB, free: 5.996 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002191/0.002222, allocations: 0.6657 MB / 0.8801 GB, free: 5.352 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001837/0.004059, allocations: 1.237 MB / 0.8813 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.425e-05/0.004123, allocations: 1.094 kB / 0.8813 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.435e-05/0.004158, allocations: 0 / 0.8813 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.004258, allocations: 9.562 kB / 0.8813 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006667/0.004925, allocations: 213.4 kB / 0.8815 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002576/0.005182, allocations: 172.6 kB / 0.8816 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.528e-05/0.005278, allocations: 15.98 kB / 0.8817 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.005437, allocations: 95.86 kB / 0.8818 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.005573, allocations: 52.94 kB / 0.8818 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.027e-05/0.005613, allocations: 16 kB / 0.8818 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.219e-05/0.005695, allocations: 27.98 kB / 0.8818 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.334e-05/0.005719, allocations: 4.656 kB / 0.8819 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.387e-05/0.005792, allocations: 59.88 kB / 0.8819 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002099/0.006002, allocations: 132.6 kB / 0.882 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.006007, allocations: 0 / 0.882 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.433e-06/0.006008, allocations: 0.7812 kB / 0.882 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.006013, allocations: 0 / 0.882 GB, free: 3.328 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.0005012/0.006514, allocations: 471.3 kB / 0.8825 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.006553, allocations: 8.031 kB / 0.8825 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.306e-05/0.006617, allocations: 16.88 kB / 0.8825 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.573e-05/0.006712, allocations: 116.5 kB / 0.8826 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.006732, allocations: 8.375 kB / 0.8826 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.006763, allocations: 12.38 kB / 0.8826 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.054e-05/0.006844, allocations: 42.23 kB / 0.8827 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.006852, allocations: 4.125 kB / 0.8827 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-06/0.006859, allocations: 4.375 kB / 0.8827 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.006865, allocations: 384 / 0.8827 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.059e-05/0.006885, allocations: 8.562 kB / 0.8827 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004664/0.007351, allocations: 308.9 kB / 0.883 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.913e-05/0.007431, allocations: 43.73 kB / 0.883 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.042e-05/0.007451, allocations: 11.69 kB / 0.883 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 6.412e-06/0.007457, allocations: 0.9062 kB / 0.883 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001255/0.007583, allocations: 77.11 kB / 0.8831 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/0.007584, allocations: 1.531 kB / 0.8831 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002126/0.007797, allocations: 101.5 kB / 0.8832 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.007836, allocations: 51.41 kB / 0.8833 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.007937, allocations: 173.9 kB / 0.8834 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.007969, allocations: 37.7 kB / 0.8835 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.067e-05/0.00804, allocations: 142.8 kB / 0.8836 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.008059, allocations: 11.95 kB / 0.8836 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.584e-05/0.008154, allocations: 55.33 kB / 0.8837 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.008303, allocations: 0.4884 MB / 0.8841 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.008426, allocations: 99.38 kB / 0.8842 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.008564, allocations: 154.1 kB / 0.8844 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.008723, allocations: 161.8 kB / 0.8845 GB, free: 496 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.008725, allocations: 0 / 0.8845 GB, free: 496 kB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003975/0.009123, allocations: 300.2 kB / 0.8848 GB, free: 164 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.604e-05/0.009179, allocations: 71.34 kB / 0.8849 GB, free: 80 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/0.009186, allocations: 3.984 kB / 0.8849 GB, free: 76 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.009198, allocations: 0 / 0.8849 GB, free: 76 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.175e-05/0.009219, allocations: 4 kB / 0.8849 GB, free: 72 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.009223, allocations: 0 / 0.8849 GB, free: 72 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002375/0.00946, allocations: 44.05 kB / 0.8849 GB, free: 28 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.039e-05/0.00949, allocations: 15.98 kB / 0.885 GB, free: 12 kB / 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 0.0001213/0.009612, allocations: 172.4 kB / 0.8851 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.168e-05/0.009633, allocations: 11.98 kB / 0.8851 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.046e-05/0.009664, allocations: 12.38 kB / 0.8851 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.009666, allocations: 0 / 0.8851 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.009668, allocations: 0 / 0.8851 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.009672, allocations: 0 / 0.8851 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.009779, allocations: 117.2 kB / 0.8853 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.009781, allocations: 4 kB / 0.8853 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.141e-05/0.009792, allocations: 4 kB / 0.8853 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.009795, allocations: 0 / 0.8853 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.009801, allocations: 0 / 0.8853 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.009802, allocations: 0 / 0.8853 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.009805, allocations: 3.938 kB / 0.8853 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/0.009948, allocations: 116.3 kB / 0.8854 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.239e-05/0.00996, allocations: 11.94 kB / 0.8854 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.009972, allocations: 0 / 0.8854 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.535e-05/0.009998, allocations: 4 kB / 0.8854 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.01003, allocations: 11.92 kB / 0.8854 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.01004, allocations: 4 kB / 0.8854 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.345e-05/0.01009, allocations: 135.2 kB / 0.8855 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.01e-07/0.01009, allocations: 0 / 0.8855 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000284/0.01038, allocations: 32 kB / 0.8856 GB, free: 15.32 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.0001468/0.01052, allocations: 99.19 kB / 0.8857 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002851/0.01081, allocations: 265.8 kB / 0.8859 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.01081, allocations: 0 / 0.8859 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.813e-05/0.01085, allocations: 31.59 kB / 0.8859 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.01109, allocations: 19.12 kB / 0.886 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003104/0.0114, allocations: 154.8 kB / 0.8861 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.018e-05/0.01144, allocations: 63.34 kB / 0.8862 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.03e-05/0.01147, allocations: 7.859 kB / 0.8862 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002792/0.01175, allocations: 98.17 kB / 0.8863 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of SimCode: time 8.81e-07/0.01175, allocations: 0 / 0.8863 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.00523/0.01698, allocations: 2.284 MB / 0.8885 GB, free: 12.27 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.961089823860675]