Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.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.002421/0.002421, allocations: 85.48 kB / 19.44 MB, free: 336 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.002855/0.002855, allocations: 173.2 kB / 22.76 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.632/1.632, allocations: 177.1 MB / 203.1 MB, free: 5.594 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.472/3.472, allocations: 429.5 MB / 0.6729 GB, free: 4.02 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.Nand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nand1.u1|nand1.u2|nand1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Nand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|nand1.u1|nand1.u2|nand1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.996e-06/2.996e-06, allocations: 0 / 0.8775 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.319e-05/3.619e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nand): time 0.002508/0.002544, allocations: 0.6671 MB / 0.8781 GB, free: 5.973 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002562/0.005106, allocations: 1.21 MB / 0.8793 GB, free: 4.754 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.331e-05/0.005159, allocations: 4 kB / 0.8793 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.962e-05/0.005189, allocations: 3.938 kB / 0.8793 GB, free: 4.746 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.005294, allocations: 13.5 kB / 0.8793 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008659/0.00616, allocations: 209.8 kB / 0.8795 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000365/0.006525, allocations: 175.7 kB / 0.8797 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.006637, allocations: 16.47 kB / 0.8797 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000208/0.006845, allocations: 85.81 kB / 0.8798 GB, free: 4.262 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.00703, allocations: 55.84 kB / 0.8798 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.663e-05/0.007087, allocations: 16 kB / 0.8798 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.007194, allocations: 23.98 kB / 0.8799 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.251e-05/0.007226, allocations: 11.98 kB / 0.8799 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.007362, allocations: 53.08 kB / 0.8799 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003792/0.007741, allocations: 179.6 kB / 0.8801 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.007745, allocations: 0 / 0.8801 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.432e-06/0.007746, allocations: 0 / 0.8801 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.85e-06/0.007751, allocations: 1.594 kB / 0.8801 GB, free: 3.93 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.0008693/0.00862, allocations: 471.5 kB / 0.8806 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.008662, allocations: 8.031 kB / 0.8806 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.927e-05/0.008761, allocations: 8.938 kB / 0.8806 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.008931, allocations: 120.5 kB / 0.8807 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.513e-05/0.008956, allocations: 8.312 kB / 0.8807 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.972e-05/0.009016, allocations: 16.36 kB / 0.8807 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.009186, allocations: 54.19 kB / 0.8808 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.009197, allocations: 192 / 0.8808 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.009209, allocations: 384 / 0.8808 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.009214, allocations: 384 / 0.8808 GB, free: 3.176 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.527e-05/0.009289, allocations: 19.92 kB / 0.8808 GB, free: 3.156 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007472/0.01004, allocations: 327.7 kB / 0.8811 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001483/0.01018, allocations: 43.05 kB / 0.8811 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.187e-05/0.01025, allocations: 27.7 kB / 0.8812 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.01027, allocations: 4 kB / 0.8812 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002154/0.01048, allocations: 88.95 kB / 0.8812 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.794e-06/0.01048, allocations: 0 / 0.8812 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0004536/0.01094, allocations: 105.6 kB / 0.8813 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.171e-05/0.01101, allocations: 59.34 kB / 0.8814 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004708/0.01148, allocations: 189.8 kB / 0.8816 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.75e-05/0.01154, allocations: 29.7 kB / 0.8816 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.01169, allocations: 134.9 kB / 0.8817 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.346e-05/0.01173, allocations: 23.83 kB / 0.8818 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/0.01193, allocations: 63.33 kB / 0.8818 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003711/0.0123, allocations: 0.4884 MB / 0.8823 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003712/0.01267, allocations: 139.4 kB / 0.8824 GB, free: 1.312 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004455/0.01311, allocations: 181.8 kB / 0.8826 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004325/0.01355, allocations: 181.8 kB / 0.8828 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.01355, allocations: 0 / 0.8828 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001099/0.01465, allocations: 368.2 kB / 0.8831 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.000113/0.01476, allocations: 67.39 kB / 0.8832 GB, free: 432 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.01477, allocations: 0 / 0.8832 GB, free: 432 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.881e-05/0.0148, allocations: 4 kB / 0.8832 GB, free: 428 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.124e-05/0.01483, allocations: 0 / 0.8832 GB, free: 428 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.787e-05/0.01485, allocations: 7.984 kB / 0.8832 GB, free: 420 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005183/0.01537, allocations: 39.92 kB / 0.8832 GB, free: 380 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.877e-05/0.01542, allocations: 11.98 kB / 0.8833 GB, free: 368 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,nand1.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.0002405/0.01566, allocations: 176.6 kB / 0.8834 GB, free: 180 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.398e-05/0.0157, allocations: 7.938 kB / 0.8834 GB, free: 172 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.167e-05/0.01574, allocations: 8.438 kB / 0.8834 GB, free: 164 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.01575, allocations: 7.922 kB / 0.8834 GB, free: 156 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.401e-05/0.01577, allocations: 4 kB / 0.8835 GB, free: 152 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.768e-06/0.01578, allocations: 0 / 0.8835 GB, free: 152 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000283/0.01606, allocations: 132.6 kB / 0.8836 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.01606, allocations: 0 / 0.8836 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.351e-05/0.01608, allocations: 0 / 0.8836 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.01608, allocations: 0 / 0.8836 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.0161, allocations: 11.94 kB / 0.8836 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.01611, allocations: 8.047 kB / 0.8836 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.01611, allocations: 4 kB / 0.8836 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003315/0.01644, allocations: 120.4 kB / 0.8837 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.168e-05/0.01648, allocations: 15.89 kB / 0.8837 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.084e-05/0.01651, allocations: 11.88 kB / 0.8837 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.755e-05/0.01654, allocations: 0 / 0.8837 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.74e-05/0.01661, allocations: 7.984 kB / 0.8838 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.01662, allocations: 0 / 0.8838 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001555/0.01678, allocations: 139.2 kB / 0.8839 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.51e-07/0.01678, allocations: 0 / 0.8839 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004527/0.01723, allocations: 32 kB / 0.8839 GB, free: 15.62 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,nand1.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.0002562/0.01749, allocations: 95.25 kB / 0.884 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0008503/0.01834, allocations: 338.2 kB / 0.8843 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.01834, allocations: 0 / 0.8843 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001144/0.01845, allocations: 35.66 kB / 0.8844 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000421/0.01888, allocations: 19.92 kB / 0.8844 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005899/0.01947, allocations: 163 kB / 0.8845 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.01959, allocations: 71.33 kB / 0.8846 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.329e-05/0.01963, allocations: 7.859 kB / 0.8846 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.576e-05/0.01968, allocations: 16.5 kB / 0.8846 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of SimCode: time 5.31e-07/0.01968, allocations: 0 / 0.8846 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of Templates: time 0.009695/0.02937, allocations: 2.06 MB / 0.8866 GB, free: 12.78 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_Nand.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nand.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.772979710949585]