Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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.001367/0.001367, allocations: 80.2 kB / 19.18 MB, free: 2.527 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.001685/0.001685, allocations: 174.2 kB / 22.46 MB, free: 5.355 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.535/1.535, allocations: 177.2 MB / 202.8 MB, free: 9.168 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 2.881/2.881, allocations: 389 MB / 0.633 GB, free: 0.9688 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.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extBooSig.u.1.|extBooSig.u.2.|extBooSig.u.3.|extBooSig.u.4.|extBooSig.y.1.|extBooSig.y.2.|extBooSig.y.3.|extBooSig1.y.1.|extBooSig1.y.2.|extBooSig1.y.3.|extBooSig1.y.4.|extBooSig1.y.5.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extBooSig.u.1.|extBooSig.u.2.|extBooSig.u.3.|extBooSig.u.4.|extBooSig.y.1.|extBooSig.y.2.|extBooSig.y.3.|extBooSig1.y.1.|extBooSig1.y.2.|extBooSig1.y.3.|extBooSig1.y.4.|extBooSig1.y.5.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.665e-06/2.665e-06, allocations: 0 / 1 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.198e-05/3.465e-05, allocations: 2.281 kB / 1 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002277/0.002312, allocations: 0.7129 MB / 1.001 GB, free: 6.562 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002173/0.004485, allocations: 1.267 MB / 1.002 GB, free: 5.281 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.065e-05/0.004556, allocations: 0 / 1.002 GB, free: 5.281 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001204/0.004676, allocations: 15.81 kB / 1.002 GB, free: 5.266 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 7.158e-05/0.004747, allocations: 15.86 kB / 1.002 GB, free: 5.25 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008827/0.00563, allocations: 246 kB / 1.002 GB, free: 5.016 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000416/0.006046, allocations: 243.6 kB / 1.003 GB, free: 4.777 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.006193, allocations: 27.97 kB / 1.003 GB, free: 4.75 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002747/0.006468, allocations: 143.8 kB / 1.003 GB, free: 4.609 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001877/0.006656, allocations: 67.83 kB / 1.003 GB, free: 4.543 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.879e-05/0.006714, allocations: 20 kB / 1.003 GB, free: 4.523 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.006835, allocations: 31.98 kB / 1.003 GB, free: 4.492 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.021e-05/0.006915, allocations: 43.78 kB / 1.003 GB, free: 4.449 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.007037, allocations: 71.88 kB / 1.003 GB, free: 4.379 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004093/0.007446, allocations: 263.2 kB / 1.003 GB, free: 4.121 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.007449, allocations: 0 / 1.003 GB, free: 4.121 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.222e-06/0.00745, allocations: 0 / 1.003 GB, free: 4.121 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.007457, allocations: 0 / 1.003 GB, free: 4.121 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007424/0.0082, allocations: 433.1 kB / 1.004 GB, free: 3.652 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.008242, allocations: 16.02 kB / 1.004 GB, free: 3.637 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000415/0.008657, allocations: 56.81 kB / 1.004 GB, free: 3.582 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006039/0.009261, allocations: 197.7 kB / 1.004 GB, free: 3.363 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.009283, allocations: 12.38 kB / 1.004 GB, free: 3.352 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.799e-05/0.009331, allocations: 16.36 kB / 1.004 GB, free: 3.336 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00024/0.009571, allocations: 133.5 kB / 1.004 GB, free: 3.188 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.009582, allocations: 4.125 kB / 1.004 GB, free: 3.184 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.009599, allocations: 4.375 kB / 1.004 GB, free: 3.18 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.009612, allocations: 8.125 kB / 1.004 GB, free: 3.172 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.009716, allocations: 47.91 kB / 1.004 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007296/0.01045, allocations: 0.575 MB / 1.005 GB, free: 2.508 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.888e-05/0.01052, allocations: 49.16 kB / 1.005 GB, free: 2.441 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.643e-05/0.01056, allocations: 21.78 kB / 1.005 GB, free: 2.414 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-06/0.01057, allocations: 3.984 kB / 1.005 GB, free: 2.41 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000204/0.01077, allocations: 89.09 kB / 1.005 GB, free: 2.305 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=6): time 3.176e-06/0.01077, allocations: 3.984 kB / 1.005 GB, free: 2.301 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.0002946/0.01107, allocations: 101.5 kB / 1.005 GB, free: 2.195 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.423e-05/0.01113, allocations: 85.11 kB / 1.005 GB, free: 2.094 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/0.01134, allocations: 174.1 kB / 1.005 GB, free: 1.914 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.125e-05/0.01139, allocations: 29.7 kB / 1.005 GB, free: 1.879 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.0115, allocations: 120 kB / 1.005 GB, free: 1.758 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.01152, allocations: 23.89 kB / 1.005 GB, free: 1.734 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.01164, allocations: 53.69 kB / 1.005 GB, free: 1.676 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.01179, allocations: 322.8 kB / 1.006 GB, free: 1.352 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.01198, allocations: 115.4 kB / 1.006 GB, free: 1.227 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002574/0.01224, allocations: 227.4 kB / 1.006 GB, free: 0.9492 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002496/0.01249, allocations: 178.2 kB / 1.006 GB, free: 0.7383 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.01249, allocations: 0 / 1.006 GB, free: 0.7383 MB / 0.9512 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005318/0.01302, allocations: 332.1 kB / 1.006 GB, free: 392 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 8.194e-05/0.0131, allocations: 71.33 kB / 1.007 GB, free: 308 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.01311, allocations: 0 / 1.007 GB, free: 308 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.452e-05/0.01313, allocations: 7.938 kB / 1.007 GB, free: 300 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.815e-05/0.01315, allocations: 0 / 1.007 GB, free: 300 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.01316, allocations: 4 kB / 1.007 GB, free: 296 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003506/0.01351, allocations: 60.12 kB / 1.007 GB, free: 236 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.762e-05/0.01355, allocations: 15.98 kB / 1.007 GB, free: 220 kB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 10 (booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4,booPul1.y,$PRE.booPul1.y,$whenCondition1,$whenCondition2,con.y,con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * 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.0001581/0.0137, allocations: 138.3 kB / 1.007 GB, free: 72 kB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.01373, allocations: 11.91 kB / 1.007 GB, free: 60 kB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.73e-05/0.01376, allocations: 12.34 kB / 1.007 GB, free: 40 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.01377, allocations: 7.938 kB / 1.007 GB, free: 32 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.01378, allocations: 7.984 kB / 1.007 GB, free: 24 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.01378, allocations: 0 / 1.007 GB, free: 24 kB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001733/0.01395, allocations: 141.3 kB / 1.007 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.01395, allocations: 0 / 1.007 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.281e-05/0.01397, allocations: 7.984 kB / 1.007 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.01397, allocations: 96 / 1.007 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.01398, allocations: 3.938 kB / 1.007 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.01398, allocations: 4 kB / 1.007 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.01399, allocations: 3.938 kB / 1.007 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001679/0.01415, allocations: 114.2 kB / 1.007 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 1.504e-05/0.01417, allocations: 7.953 kB / 1.007 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.01419, allocations: 4 kB / 1.007 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.636e-05/0.01421, allocations: 4 kB / 1.007 GB, free: 15.69 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.01425, allocations: 15.97 kB / 1.007 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.769e-06/0.01426, allocations: 8 kB / 1.007 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000125/0.01439, allocations: 124 kB / 1.007 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.01439, allocations: 0 / 1.007 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002733/0.01466, allocations: 39.89 kB / 1.007 GB, free: 15.5 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,booPul.y,$whenCondition1,$whenCondition2,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0001732/0.01483, allocations: 103.2 kB / 1.007 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004283/0.01526, allocations: 278.1 kB / 1.008 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01526, allocations: 0 / 1.008 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.235e-05/0.01531, allocations: 15.98 kB / 1.008 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.01556, allocations: 21.53 kB / 1.008 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005041/0.01606, allocations: 246.9 kB / 1.008 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.01618, allocations: 106.1 kB / 1.008 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.799e-05/0.01622, allocations: 12.98 kB / 1.008 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.586e-05/0.01625, allocations: 12.5 kB / 1.008 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of SimCode: time 4.41e-07/0.01625, allocations: 0 / 1.008 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of Templates: time 0.005873/0.02212, allocations: 2.068 MB / 1.01 GB, free: 12.62 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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.402233462780714]