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.0007557/0.0007557, allocations: 80.48 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.0007492/0.0007492, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8729/0.8729, allocations: 177.1 MB / 203.5 MB, free: 5.715 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 1.807/1.807, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] 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 2.234e-06/2.234e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.874e-05/3.098e-05, allocations: 9.234 kB / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001443/0.001474, allocations: 0.6375 MB / 1.002 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.002631, allocations: 1.217 MB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.151e-05/0.002672, allocations: 0 / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.701e-05/0.002699, allocations: 11.88 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.241e-05/0.002772, allocations: 3.938 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004954/0.003267, allocations: 217.7 kB / 1.003 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001755/0.003443, allocations: 175.7 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.405e-05/0.003537, allocations: 11.98 kB / 1.003 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.003652, allocations: 95.86 kB / 1.003 GB, free: 10.62 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.003765, allocations: 47.91 kB / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.627e-05/0.003791, allocations: 16 kB / 1.003 GB, free: 10.56 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.481e-05/0.003856, allocations: 27.98 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.271e-05/0.003879, allocations: 7.938 kB / 1.003 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.718e-05/0.003936, allocations: 47.95 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002106/0.004147, allocations: 187.5 kB / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.004149, allocations: 4 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.112e-06/0.004151, allocations: 0 / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.004155, allocations: 0 / 1.004 GB, free: 10.29 MB / 0.9636 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.0004579/0.004613, allocations: 357.6 kB / 1.004 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.004661, allocations: 8.75 kB / 1.004 GB, free: 9.891 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.71e-05/0.004728, allocations: 12.89 kB / 1.004 GB, free: 9.879 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.004834, allocations: 113.7 kB / 1.004 GB, free: 9.742 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.004854, allocations: 8.375 kB / 1.004 GB, free: 9.734 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.535e-05/0.004879, allocations: 12.38 kB / 1.004 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.005008, allocations: 46.23 kB / 1.004 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.005019, allocations: 192 / 1.004 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.005032, allocations: 384 / 1.004 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.005038, allocations: 384 / 1.004 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.446e-05/0.005083, allocations: 23.86 kB / 1.004 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004666/0.005549, allocations: 276.5 kB / 1.004 GB, free: 9.348 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.818e-05/0.005637, allocations: 26.58 kB / 1.004 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.458e-05/0.005672, allocations: 12.95 kB / 1.004 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.00569, allocations: 3.984 kB / 1.004 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002194/0.005909, allocations: 91.2 kB / 1.004 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 2.585e-06/0.005912, allocations: 0 / 1.004 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0002668/0.006178, allocations: 97.67 kB / 1.005 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.085e-05/0.006229, allocations: 55.41 kB / 1.005 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.25e-05/0.006322, allocations: 133.6 kB / 1.005 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.00635, allocations: 33.7 kB / 1.005 GB, free: 8.844 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.515e-05/0.006415, allocations: 96.12 kB / 1.005 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-05/0.00643, allocations: 7.906 kB / 1.005 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.436e-05/0.006505, allocations: 53.69 kB / 1.005 GB, free: 8.68 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.006608, allocations: 314.8 kB / 1.005 GB, free: 8.363 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.006761, allocations: 123.4 kB / 1.005 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.006909, allocations: 163.7 kB / 1.006 GB, free: 8.043 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.007064, allocations: 151.6 kB / 1.006 GB, free: 7.867 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.007068, allocations: 4 kB / 1.006 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003785/0.007447, allocations: 332.2 kB / 1.006 GB, free: 7.508 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 6.706e-05/0.007514, allocations: 69.42 kB / 1.006 GB, free: 7.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.007522, allocations: 0 / 1.006 GB, free: 7.43 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.007544, allocations: 7.984 kB / 1.006 GB, free: 7.422 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.202e-05/0.007576, allocations: 3.938 kB / 1.006 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.007587, allocations: 4.781 kB / 1.006 GB, free: 7.414 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.007804, allocations: 60 kB / 1.006 GB, free: 7.355 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/0.007826, allocations: 11.98 kB / 1.006 GB, free: 7.344 MB / 0.9636 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 8.239e-05/0.007908, allocations: 117.8 kB / 1.006 GB, free: 7.219 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.268e-05/0.007921, allocations: 11.89 kB / 1.006 GB, free: 7.207 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.64e-05/0.007947, allocations: 16.36 kB / 1.006 GB, free: 7.191 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.00795, allocations: 0 / 1.006 GB, free: 7.191 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.007954, allocations: 4 kB / 1.006 GB, free: 7.188 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.007959, allocations: 0 / 1.006 GB, free: 7.188 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.203e-05/0.008041, allocations: 121.3 kB / 1.006 GB, free: 7.039 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.008042, allocations: 0 / 1.006 GB, free: 7.039 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.434e-06/0.008049, allocations: 7.938 kB / 1.006 GB, free: 7.031 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.008053, allocations: 3.938 kB / 1.006 GB, free: 7.027 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.008061, allocations: 3.984 kB / 1.006 GB, free: 7.023 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.008062, allocations: 0 / 1.006 GB, free: 7.023 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.008064, allocations: 3.984 kB / 1.006 GB, free: 7.02 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.008182, allocations: 113.1 kB / 1.007 GB, free: 6.891 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.574e-06/0.00819, allocations: 3.953 kB / 1.007 GB, free: 6.887 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.008203, allocations: 3.938 kB / 1.007 GB, free: 6.883 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.497e-05/0.008218, allocations: 4 kB / 1.007 GB, free: 6.879 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.008254, allocations: 7.984 kB / 1.007 GB, free: 6.871 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.008262, allocations: 11.94 kB / 1.007 GB, free: 6.859 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.627e-05/0.008298, allocations: 91.27 kB / 1.007 GB, free: 6.77 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.1e-08/0.008298, allocations: 0 / 1.007 GB, free: 6.77 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001642/0.008462, allocations: 31.94 kB / 1.007 GB, free: 6.738 MB / 0.9636 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.0001455/0.008608, allocations: 107.1 kB / 1.007 GB, free: 6.621 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002605/0.008868, allocations: 278.1 kB / 1.007 GB, free: 6.312 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.00887, allocations: 256 / 1.007 GB, free: 6.312 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.716e-05/0.008907, allocations: 27.98 kB / 1.007 GB, free: 6.285 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001894/0.009097, allocations: 20.17 kB / 1.007 GB, free: 6.266 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003109/0.009407, allocations: 187.2 kB / 1.007 GB, free: 6.047 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.525e-05/0.009453, allocations: 67.62 kB / 1.007 GB, free: 5.961 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.695e-05/0.00948, allocations: 12.5 kB / 1.007 GB, free: 5.949 MB / 0.9636 GB Notification: Performance of SimCode: time 5.11e-07/0.00948, allocations: 3.938 kB / 1.007 GB, free: 5.945 MB / 0.9636 GB Notification: Performance of Templates: time 0.002433/0.01191, allocations: 1.392 MB / 1.009 GB, free: 4.566 MB / 0.9636 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: 6.475156586617231]