Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001385/0.001385, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.001006/0.001006, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8778/0.8778, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.75/1.75, allocations: 377.8 MB / 0.6228 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.9822 GB, free: 2.078 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.04e-05/2.231e-05, allocations: 5.234 kB / 0.9822 GB, free: 2.074 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001373/0.001395, allocations: 0.6452 MB / 0.9828 GB, free: 1.43 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.002521, allocations: 1.217 MB / 0.984 GB, free: 204 kB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.274e-05/0.002563, allocations: 0 / 0.984 GB, free: 204 kB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.99e-05/0.002593, allocations: 3.938 kB / 0.984 GB, free: 200 kB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.371e-05/0.002657, allocations: 7.938 kB / 0.984 GB, free: 192 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.00047/0.003127, allocations: 223.1 kB / 0.9843 GB, free: 15.97 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001692/0.003296, allocations: 175.7 kB / 0.9844 GB, free: 15.8 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.299e-05/0.003389, allocations: 11.98 kB / 0.9844 GB, free: 15.79 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.003496, allocations: 95.86 kB / 0.9845 GB, free: 15.7 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.003599, allocations: 47.91 kB / 0.9846 GB, free: 15.65 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.462e-05/0.003624, allocations: 16 kB / 0.9846 GB, free: 15.63 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 5.538e-05/0.003679, allocations: 23.98 kB / 0.9846 GB, free: 15.61 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 2.393e-05/0.003703, allocations: 11.94 kB / 0.9846 GB, free: 15.6 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 5.944e-05/0.003763, allocations: 55.94 kB / 0.9847 GB, free: 15.54 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.003953, allocations: 183.4 kB / 0.9848 GB, free: 15.37 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.003955, allocations: 4 kB / 0.9849 GB, free: 15.36 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.082e-06/0.003956, allocations: 0 / 0.9849 GB, free: 15.36 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.00396, allocations: 0 / 0.9849 GB, free: 15.36 MB / 0.948 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.0003918/0.004352, allocations: 361.5 kB / 0.9852 GB, free: 14.96 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.004387, allocations: 8.031 kB / 0.9852 GB, free: 14.96 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.857e-05/0.004436, allocations: 12.89 kB / 0.9852 GB, free: 14.95 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.131e-05/0.004517, allocations: 109.7 kB / 0.9853 GB, free: 14.81 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.00453, allocations: 4.375 kB / 0.9853 GB, free: 14.81 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.004551, allocations: 12.36 kB / 0.9853 GB, free: 14.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.284e-05/0.004644, allocations: 50.25 kB / 0.9854 GB, free: 14.74 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.004652, allocations: 4.188 kB / 0.9854 GB, free: 14.74 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.996e-06/0.004661, allocations: 4.375 kB / 0.9854 GB, free: 14.73 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.004665, allocations: 384 / 0.9854 GB, free: 14.73 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.668e-05/0.004702, allocations: 23.86 kB / 0.9854 GB, free: 14.71 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003398/0.005042, allocations: 272.4 kB / 0.9857 GB, free: 14.41 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.943e-05/0.005111, allocations: 26.58 kB / 0.9857 GB, free: 14.38 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.493e-05/0.005136, allocations: 20.94 kB / 0.9857 GB, free: 14.36 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.628e-06/0.005146, allocations: 3.938 kB / 0.9857 GB, free: 14.35 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001238/0.00527, allocations: 87.23 kB / 0.9858 GB, free: 14.25 MB / 0.948 GB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.005271, allocations: 0 / 0.9858 GB, free: 14.25 MB / 0.948 GB Notification: Performance of matching and sorting (n=7): time 0.0002102/0.005481, allocations: 105.6 kB / 0.9859 GB, free: 14.14 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.005515, allocations: 59.41 kB / 0.986 GB, free: 14.07 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.917e-05/0.005584, allocations: 121.8 kB / 0.9861 GB, free: 13.95 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.005608, allocations: 33.7 kB / 0.9861 GB, free: 13.91 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.758e-05/0.005655, allocations: 88.09 kB / 0.9862 GB, free: 13.82 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.458e-05/0.00567, allocations: 19.89 kB / 0.9862 GB, free: 13.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.789e-05/0.005728, allocations: 45.69 kB / 0.9863 GB, free: 13.75 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.052e-05/0.005808, allocations: 322.8 kB / 0.9866 GB, free: 13.42 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.005925, allocations: 123.4 kB / 0.9867 GB, free: 13.29 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.006044, allocations: 151.7 kB / 0.9868 GB, free: 13.11 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001257/0.00617, allocations: 159.6 kB / 0.987 GB, free: 12.93 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.006174, allocations: 7.984 kB / 0.987 GB, free: 12.92 MB / 0.948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003077/0.006482, allocations: 320.7 kB / 0.9873 GB, free: 12.58 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.744e-05/0.006519, allocations: 67.39 kB / 0.9874 GB, free: 12.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.006525, allocations: 7.938 kB / 0.9874 GB, free: 12.49 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.006536, allocations: 0 / 0.9874 GB, free: 12.49 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.973e-05/0.006556, allocations: 7.938 kB / 0.9874 GB, free: 12.48 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.006561, allocations: 4.125 kB / 0.9874 GB, free: 12.48 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/0.006749, allocations: 55.83 kB / 0.9874 GB, free: 12.43 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.006771, allocations: 15.98 kB / 0.9874 GB, free: 12.41 MB / 0.948 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 6.771e-05/0.006839, allocations: 121.8 kB / 0.9876 GB, free: 12.28 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.817e-06/0.006847, allocations: 11.88 kB / 0.9876 GB, free: 12.27 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.167e-05/0.006869, allocations: 8.438 kB / 0.9876 GB, free: 12.26 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-06/0.006872, allocations: 4 kB / 0.9876 GB, free: 12.26 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.006877, allocations: 0 / 0.9876 GB, free: 12.26 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.006883, allocations: 0 / 0.9876 GB, free: 12.26 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.209e-05/0.006965, allocations: 117.3 kB / 0.9877 GB, free: 12.11 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.006966, allocations: 0 / 0.9877 GB, free: 12.11 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.069e-06/0.006971, allocations: 3.938 kB / 0.9877 GB, free: 12.11 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.006973, allocations: 3.938 kB / 0.9877 GB, free: 12.11 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.006982, allocations: 7.984 kB / 0.9877 GB, free: 12.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.006983, allocations: 64 / 0.9877 GB, free: 12.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.006986, allocations: 7.938 kB / 0.9877 GB, free: 12.09 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001062/0.007092, allocations: 113.1 kB / 0.9878 GB, free: 11.96 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.103e-06/0.007099, allocations: 8 kB / 0.9878 GB, free: 11.95 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.007111, allocations: 3.938 kB / 0.9878 GB, free: 11.95 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.226e-05/0.007124, allocations: 4 kB / 0.9878 GB, free: 11.95 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/0.007163, allocations: 7.984 kB / 0.9879 GB, free: 11.94 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.007168, allocations: 4 kB / 0.9879 GB, free: 11.93 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.621e-05/0.007204, allocations: 91.27 kB / 0.9879 GB, free: 11.84 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.007204, allocations: 0 / 0.9879 GB, free: 11.84 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001757/0.00738, allocations: 31.94 kB / 0.988 GB, free: 11.81 MB / 0.948 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.0001185/0.007499, allocations: 107.7 kB / 0.9881 GB, free: 11.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002555/0.007754, allocations: 278.1 kB / 0.9883 GB, free: 11.39 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.007756, allocations: 0 / 0.9883 GB, free: 11.39 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.8e-05/0.007794, allocations: 23.98 kB / 0.9884 GB, free: 11.37 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001771/0.007971, allocations: 20.19 kB / 0.9884 GB, free: 11.35 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002857/0.008257, allocations: 183.2 kB / 0.9886 GB, free: 11.13 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.448e-05/0.008301, allocations: 67.84 kB / 0.9886 GB, free: 11.05 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.791e-05/0.008329, allocations: 20.48 kB / 0.9886 GB, free: 11.03 MB / 0.948 GB Notification: Performance of SimCode: time 4.1e-07/0.00833, allocations: 0 / 0.9886 GB, free: 11.03 MB / 0.948 GB Notification: Performance of Templates: time 0.002263/0.01059, allocations: 1.407 MB / 0.99 GB, free: 9.633 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Logical_Validation_Nor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.428920913487673]