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.00195/0.00195, allocations: 80.22 kB / 19.18 MB, free: 2.516 MB / 14.72 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.003069/0.003069, allocations: 162.6 kB / 22.46 MB, free: 5.375 MB / 14.72 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.505/1.505, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 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.075/3.075, allocations: 389 MB / 0.633 GB, free: 0.9922 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.186e-06/3.186e-06, allocations: 0 / 1 GB, free: 7.262 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.815e-05/4.134e-05, allocations: 6.219 kB / 1 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002264/0.002305, allocations: 0.6544 MB / 1.001 GB, free: 6.605 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001947/0.004252, allocations: 1.213 MB / 1.002 GB, free: 5.379 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.681e-05/0.004319, allocations: 0 / 1.002 GB, free: 5.379 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.803e-05/0.004367, allocations: 3.938 kB / 1.002 GB, free: 5.375 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.00448, allocations: 19.86 kB / 1.002 GB, free: 5.355 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008368/0.005317, allocations: 209.6 kB / 1.002 GB, free: 5.156 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003436/0.005661, allocations: 179.6 kB / 1.002 GB, free: 4.98 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.00577, allocations: 8 kB / 1.002 GB, free: 4.973 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002248/0.005994, allocations: 91.92 kB / 1.002 GB, free: 4.883 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.006171, allocations: 55.84 kB / 1.003 GB, free: 4.828 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.412e-05/0.006225, allocations: 16 kB / 1.003 GB, free: 4.812 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 9.47e-05/0.00632, allocations: 23.98 kB / 1.003 GB, free: 4.789 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.67e-05/0.006347, allocations: 8 kB / 1.003 GB, free: 4.781 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.006455, allocations: 55.88 kB / 1.003 GB, free: 4.727 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003334/0.006789, allocations: 175.6 kB / 1.003 GB, free: 4.555 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.006793, allocations: 0 / 1.003 GB, free: 4.555 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.182e-06/0.006794, allocations: 0 / 1.003 GB, free: 4.555 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.0068, allocations: 0 / 1.003 GB, free: 4.555 MB / 0.9512 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.0006696/0.007469, allocations: 365.6 kB / 1.003 GB, free: 4.152 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.007518, allocations: 8.031 kB / 1.003 GB, free: 4.145 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.139e-05/0.007599, allocations: 12.89 kB / 1.003 GB, free: 4.133 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.007738, allocations: 125.6 kB / 1.003 GB, free: 3.984 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.894e-05/0.007767, allocations: 12.3 kB / 1.003 GB, free: 3.973 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.351e-05/0.00781, allocations: 16.3 kB / 1.003 GB, free: 3.957 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.007947, allocations: 50.25 kB / 1.003 GB, free: 3.902 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.007956, allocations: 192 / 1.003 GB, free: 3.902 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.007968, allocations: 384 / 1.003 GB, free: 3.902 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.007974, allocations: 384 / 1.003 GB, free: 3.902 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.133e-05/0.008025, allocations: 19.92 kB / 1.003 GB, free: 3.883 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005387/0.008564, allocations: 264.5 kB / 1.004 GB, free: 3.594 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.00867, allocations: 38.52 kB / 1.004 GB, free: 3.547 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.461e-05/0.008705, allocations: 16.94 kB / 1.004 GB, free: 3.527 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.008718, allocations: 0 / 1.004 GB, free: 3.527 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002069/0.008925, allocations: 79.27 kB / 1.004 GB, free: 3.438 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.008926, allocations: 0 / 1.004 GB, free: 3.438 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0002951/0.009221, allocations: 109.6 kB / 1.004 GB, free: 3.324 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/0.009277, allocations: 55.41 kB / 1.004 GB, free: 3.258 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.009413, allocations: 121.8 kB / 1.004 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.971e-05/0.009453, allocations: 33.7 kB / 1.004 GB, free: 3.09 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.19e-05/0.009535, allocations: 88.14 kB / 1.004 GB, free: 3 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.848e-05/0.009563, allocations: 19.84 kB / 1.004 GB, free: 2.98 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.009674, allocations: 49.67 kB / 1.004 GB, free: 2.926 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.009832, allocations: 318.8 kB / 1.005 GB, free: 2.605 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001964/0.01003, allocations: 119.4 kB / 1.005 GB, free: 2.477 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.01025, allocations: 153.9 kB / 1.005 GB, free: 2.301 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000243/0.01049, allocations: 164 kB / 1.005 GB, free: 2.113 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.165e-06/0.0105, allocations: 8 kB / 1.005 GB, free: 2.105 MB / 0.9512 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005556/0.01105, allocations: 324.2 kB / 1.005 GB, free: 1.758 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 6.905e-05/0.01112, allocations: 67.39 kB / 1.005 GB, free: 1.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.01113, allocations: 4.062 kB / 1.005 GB, free: 1.676 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.01115, allocations: 4 kB / 1.005 GB, free: 1.672 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.587e-05/0.01118, allocations: 8 kB / 1.005 GB, free: 1.664 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.01119, allocations: 3.984 kB / 1.005 GB, free: 1.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000375/0.01156, allocations: 52.06 kB / 1.005 GB, free: 1.609 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.759e-05/0.0116, allocations: 8 kB / 1.005 GB, free: 1.602 MB / 0.9512 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.0001379/0.01174, allocations: 129.8 kB / 1.006 GB, free: 1.465 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.838e-05/0.01176, allocations: 7.891 kB / 1.006 GB, free: 1.457 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.551e-05/0.01179, allocations: 16.38 kB / 1.006 GB, free: 1.441 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.01179, allocations: 0 / 1.006 GB, free: 1.441 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.0118, allocations: 0 / 1.006 GB, free: 1.441 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.0118, allocations: 0 / 1.006 GB, free: 1.441 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.01194, allocations: 125.3 kB / 1.006 GB, free: 1.289 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.01194, allocations: 0 / 1.006 GB, free: 1.289 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.168e-05/0.01195, allocations: 3.984 kB / 1.006 GB, free: 1.285 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.01196, allocations: 3.938 kB / 1.006 GB, free: 1.281 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.01197, allocations: 4 kB / 1.006 GB, free: 1.277 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.01197, allocations: 0 / 1.006 GB, free: 1.277 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.01197, allocations: 0 / 1.006 GB, free: 1.277 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/0.01215, allocations: 109.1 kB / 1.006 GB, free: 1.152 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 1.607e-05/0.01216, allocations: 11.89 kB / 1.006 GB, free: 1.141 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.947e-05/0.01218, allocations: 3.938 kB / 1.006 GB, free: 1.137 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.195e-05/0.01221, allocations: 3.938 kB / 1.006 GB, free: 1.133 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.101e-05/0.01227, allocations: 15.98 kB / 1.006 GB, free: 1.117 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.01228, allocations: 4 kB / 1.006 GB, free: 1.113 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.756e-05/0.01235, allocations: 95.2 kB / 1.006 GB, free: 1.02 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.01235, allocations: 0 / 1.006 GB, free: 1.02 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002622/0.01261, allocations: 24 kB / 1.006 GB, free: 0.9961 MB / 0.9512 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.0002175/0.01283, allocations: 107.2 kB / 1.006 GB, free: 0.8789 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004541/0.01328, allocations: 278.1 kB / 1.006 GB, free: 0.5703 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.01328, allocations: 256 / 1.006 GB, free: 0.5703 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 5.908e-05/0.01334, allocations: 27.98 kB / 1.006 GB, free: 0.543 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.01361, allocations: 15.98 kB / 1.006 GB, free: 0.5273 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004647/0.01408, allocations: 158 kB / 1.006 GB, free: 352 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.979e-05/0.01416, allocations: 71.33 kB / 1.007 GB, free: 260 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.443e-05/0.01419, allocations: 7.859 kB / 1.007 GB, free: 252 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.055e-05/0.01422, allocations: 12.5 kB / 1.007 GB, free: 240 kB / 0.9512 GB Notification: Performance of SimCode: time 5.61e-07/0.01422, allocations: 4 kB / 1.007 GB, free: 236 kB / 0.9512 GB Notification: Performance of Templates: time 0.006683/0.02091, allocations: 2.024 MB / 1.009 GB, free: 14.25 MB / 0.9669 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.521697465330362]