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.002033/0.002033, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.002762/0.002762, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.586/1.586, allocations: 177.1 MB / 203.1 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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 3.518/3.518, allocations: 429.6 MB / 0.673 GB, free: 3.895 MB / 0.6355 GB " [Timeout remaining time 176] 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 3.066e-06/3.066e-06, allocations: 0 / 0.8776 GB, free: 6.461 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.282e-05/4.589e-05, allocations: 6.859 kB / 0.8776 GB, free: 6.453 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002469/0.002515, allocations: 0.6535 MB / 0.8783 GB, free: 5.824 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002243/0.004758, allocations: 1.207 MB / 0.8794 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.449e-05/0.004822, allocations: 1.562 kB / 0.8794 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.537e-05/0.004858, allocations: 0 / 0.8794 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.004963, allocations: 15.86 kB / 0.8794 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008637/0.005827, allocations: 208.7 kB / 0.8796 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004021/0.006229, allocations: 172.5 kB / 0.8798 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.006385, allocations: 17.31 kB / 0.8798 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003006/0.006686, allocations: 87.94 kB / 0.8799 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002027/0.006889, allocations: 55.84 kB / 0.88 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.413e-05/0.006943, allocations: 12 kB / 0.88 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.007066, allocations: 33.45 kB / 0.88 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.512e-05/0.007101, allocations: 3.984 kB / 0.88 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.007239, allocations: 55.89 kB / 0.8801 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004553/0.007694, allocations: 179.6 kB / 0.8802 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.007699, allocations: 1.5 kB / 0.8802 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.325e-06/0.007702, allocations: 0 / 0.8802 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.014e-06/0.007709, allocations: 0 / 0.8802 GB, free: 3.785 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.000937/0.008646, allocations: 365.5 kB / 0.8806 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.147e-05/0.008707, allocations: 9.25 kB / 0.8806 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001445/0.008852, allocations: 8.938 kB / 0.8806 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.009061, allocations: 117.6 kB / 0.8807 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.542e-05/0.009097, allocations: 11.7 kB / 0.8807 GB, free: 3.219 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.372e-05/0.009151, allocations: 20.36 kB / 0.8807 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.00934, allocations: 42.25 kB / 0.8808 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.009355, allocations: 192 / 0.8808 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.534e-05/0.00938, allocations: 384 / 0.8808 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/0.009396, allocations: 4.375 kB / 0.8808 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.764e-05/0.009463, allocations: 15.92 kB / 0.8808 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007431/0.01021, allocations: 272.5 kB / 0.8811 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.01032, allocations: 34.52 kB / 0.8811 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.663e-05/0.01037, allocations: 16.94 kB / 0.8811 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.01038, allocations: 4 kB / 0.8811 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003017/0.01069, allocations: 83.27 kB / 0.8812 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 2.305e-06/0.01069, allocations: 0 / 0.8812 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0003663/0.01105, allocations: 105.6 kB / 0.8813 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.952e-05/0.01112, allocations: 59.41 kB / 0.8814 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.01127, allocations: 121.8 kB / 0.8815 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.399e-05/0.01132, allocations: 29.7 kB / 0.8815 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.773e-05/0.01142, allocations: 88.14 kB / 0.8816 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.01144, allocations: 19.89 kB / 0.8816 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/0.01157, allocations: 53.67 kB / 0.8817 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002009/0.01177, allocations: 314.8 kB / 0.882 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/0.01198, allocations: 123.4 kB / 0.8821 GB, free: 1.715 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000234/0.01221, allocations: 155.6 kB / 0.8822 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002556/0.01247, allocations: 159.6 kB / 0.8824 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.01247, allocations: 0 / 0.8824 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005803/0.01305, allocations: 340.2 kB / 0.8827 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.571e-05/0.01313, allocations: 67.39 kB / 0.8828 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.01313, allocations: 0 / 0.8828 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.01316, allocations: 0 / 0.8828 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.56e-05/0.01318, allocations: 8 kB / 0.8828 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.01319, allocations: 7.922 kB / 0.8828 GB, free: 0.8945 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003681/0.01356, allocations: 55.95 kB / 0.8828 GB, free: 0.8398 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.584e-05/0.0136, allocations: 19.94 kB / 0.8828 GB, free: 0.8203 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 0.0001296/0.01372, allocations: 121.8 kB / 0.883 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.541e-05/0.01375, allocations: 11.94 kB / 0.883 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.844e-05/0.01378, allocations: 4.438 kB / 0.883 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.01378, allocations: 4 kB / 0.883 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.01379, allocations: 4.062 kB / 0.883 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.01379, allocations: 0 / 0.883 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.01393, allocations: 117.3 kB / 0.8831 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.01393, allocations: 4 kB / 0.8831 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.436e-06/0.01394, allocations: 4 kB / 0.8831 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.01394, allocations: 3.938 kB / 0.8831 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.01395, allocations: 0 / 0.8831 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.01396, allocations: 4 kB / 0.8831 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01396, allocations: 0 / 0.8831 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001928/0.01415, allocations: 117.3 kB / 0.8832 GB, free: 384 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.5e-05/0.01418, allocations: 11.95 kB / 0.8832 GB, free: 372 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.0142, allocations: 7.938 kB / 0.8832 GB, free: 364 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.407e-05/0.01422, allocations: 3.984 kB / 0.8833 GB, free: 360 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.196e-05/0.01429, allocations: 4 kB / 0.8833 GB, free: 356 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.0143, allocations: 4 kB / 0.8833 GB, free: 352 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.158e-05/0.01438, allocations: 95.27 kB / 0.8833 GB, free: 256 kB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.01438, allocations: 0 / 0.8833 GB, free: 256 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002796/0.01466, allocations: 35.94 kB / 0.8834 GB, free: 220 kB / 0.8386 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.0002072/0.01487, allocations: 99.23 kB / 0.8835 GB, free: 112 kB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006518/0.01552, allocations: 282.2 kB / 0.8837 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.01552, allocations: 0 / 0.8837 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.481e-05/0.01558, allocations: 24 kB / 0.8838 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.01585, allocations: 16.23 kB / 0.8838 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000489/0.01634, allocations: 165 kB / 0.8839 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.859e-05/0.01643, allocations: 71.33 kB / 0.884 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.552e-05/0.01646, allocations: 7.859 kB / 0.884 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.845e-05/0.01649, allocations: 12.5 kB / 0.884 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of SimCode: time 5.81e-07/0.01649, allocations: 3.938 kB / 0.884 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of Templates: time 0.006392/0.02289, allocations: 2.073 MB / 0.8861 GB, free: 13.44 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.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: 8.676010074908845]