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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 111.1 kB / 17.07 MB, free: 6.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 189.3 kB / 20.02 MB, free: 3.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.199/3.199, allocations: 490 MB / 0.7695 GB, free: 3.113 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.003141/0.003141, allocations: 67.89 kB / 1.104 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.123/1.126, allocations: 164 MB / 1.264 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001794/1.128, allocations: 0.665 MB / 1.265 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001533/1.129, allocations: 1.179 MB / 1.266 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.132e-05/1.129, allocations: 0 / 1.266 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.921e-05/1.129, allocations: 4.453 kB / 1.266 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.063e-05/1.13, allocations: 15.66 kB / 1.266 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006976/1.13, allocations: 223.9 kB / 1.266 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002688/1.131, allocations: 179.2 kB / 1.266 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.47e-05/1.131, allocations: 6.547 kB / 1.266 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/1.131, allocations: 71.09 kB / 1.266 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/1.131, allocations: 65.69 kB / 1.266 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.401e-05/1.131, allocations: 18.81 kB / 1.266 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.261e-05/1.131, allocations: 30.2 kB / 1.266 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.265e-05/1.131, allocations: 12.62 kB / 1.266 GB, free: 5.789 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.593e-05/1.131, allocations: 57.66 kB / 1.266 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002632/1.131, allocations: 146.9 kB / 1.266 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.131, allocations: 0 / 1.266 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.863e-06/1.131, allocations: 3.938 kB / 1.266 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.581e-06/1.131, allocations: 1.375 kB / 1.266 GB, free: 5.715 MB / 0.9981 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.0004808/1.132, allocations: 433.7 kB / 1.267 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/1.132, allocations: 13.59 kB / 1.267 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.773e-05/1.132, allocations: 12.25 kB / 1.267 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.323e-05/1.132, allocations: 177 kB / 1.267 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/1.132, allocations: 5.359 kB / 1.267 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.183e-05/1.132, allocations: 10.33 kB / 1.267 GB, free: 5.062 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/1.132, allocations: 53.05 kB / 1.267 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/1.132, allocations: 192 / 1.267 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/1.132, allocations: 5.172 kB / 1.267 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/1.132, allocations: 0.75 kB / 1.267 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.521e-05/1.132, allocations: 13.86 kB / 1.267 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004671/1.133, allocations: 350.7 kB / 1.267 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.661e-05/1.133, allocations: 43.33 kB / 1.268 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.18e-05/1.133, allocations: 15.72 kB / 1.268 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.708e-06/1.133, allocations: 0 / 1.268 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001845/1.133, allocations: 83.12 kB / 1.268 GB, free: 4.598 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/1.133, allocations: 4 kB / 1.268 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0002802/1.134, allocations: 103.4 kB / 1.268 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/1.134, allocations: 53.19 kB / 1.268 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.76e-05/1.134, allocations: 120.6 kB / 1.268 GB, free: 4.367 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.723e-05/1.134, allocations: 34.33 kB / 1.268 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.728e-05/1.134, allocations: 85.81 kB / 1.268 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/1.134, allocations: 15.56 kB / 1.268 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/1.134, allocations: 48.91 kB / 1.268 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.617e-05/1.134, allocations: 326.2 kB / 1.268 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/1.134, allocations: 60.64 kB / 1.268 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/1.134, allocations: 88.98 kB / 1.269 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001831/1.134, allocations: 166.8 kB / 1.269 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/1.134, allocations: 4.656 kB / 1.269 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004612/1.135, allocations: 261.7 kB / 1.269 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.254e-05/1.135, allocations: 68.81 kB / 1.269 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/1.135, allocations: 2.062 kB / 1.269 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/1.135, allocations: 1.828 kB / 1.269 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.321e-05/1.135, allocations: 2.578 kB / 1.269 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/1.135, allocations: 6.312 kB / 1.269 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003672/1.135, allocations: 52 kB / 1.269 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.748e-05/1.135, allocations: 15.44 kB / 1.269 GB, free: 3.434 MB / 0.9981 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.214e-05/1.136, allocations: 127.7 kB / 1.269 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.581e-05/1.136, allocations: 7.625 kB / 1.269 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.938e-05/1.136, allocations: 14.12 kB / 1.269 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/1.136, allocations: 1.031 kB / 1.269 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/1.136, allocations: 1.312 kB / 1.269 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/1.136, allocations: 0 / 1.269 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/1.136, allocations: 178.8 kB / 1.269 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/1.136, allocations: 1.344 kB / 1.269 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.939e-06/1.136, allocations: 2.156 kB / 1.269 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/1.136, allocations: 0.875 kB / 1.269 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/1.136, allocations: 9.312 kB / 1.269 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/1.136, allocations: 0.9062 kB / 1.269 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/1.136, allocations: 0.8438 kB / 1.269 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/1.136, allocations: 115.3 kB / 1.27 GB, free: 2.992 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.483e-05/1.136, allocations: 83.44 kB / 1.27 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/1.136, allocations: 2.609 kB / 1.27 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.968e-05/1.136, allocations: 4.531 kB / 1.27 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/1.136, allocations: 10.23 kB / 1.27 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/1.136, allocations: 3.203 kB / 1.27 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.074e-05/1.136, allocations: 94.08 kB / 1.27 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/1.136, allocations: 4 kB / 1.27 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002545/1.136, allocations: 27.52 kB / 1.27 GB, free: 2.801 MB / 0.9981 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.0001676/1.137, allocations: 108.8 kB / 1.27 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003688/1.137, allocations: 248.2 kB / 1.27 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/1.137, allocations: 0.625 kB / 1.27 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.267e-05/1.137, allocations: 28.45 kB / 1.27 GB, free: 2.52 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/1.137, allocations: 23.52 kB / 1.27 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003495/1.138, allocations: 198.7 kB / 1.27 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/1.138, allocations: 0.6853 MB / 1.271 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.369e-05/1.138, allocations: 12.52 kB / 1.271 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of SimCode: time 2.31e-07/1.138, allocations: 0 / 1.271 GB, free: 1.621 MB / 0.9981 GB Notification: Performance of Templates: time 0.003959/1.142, allocations: 1.374 MB / 1.272 GB, free: 1.504 MB / 0.9981 GB " [Timeout remaining time 299] 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/jenkins1/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: 11.74600586190354]