Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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.001536/0.001536, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.00154/0.00154, allocations: 188.7 kB / 22.1 MB, free: 4.223 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.618/1.618, allocations: 225.6 MB / 250.8 MB, free: 2.891 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.125/3.125, allocations: 495.8 MB / 0.783 GB, free: 12.23 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/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.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_12_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_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002175/0.002175, allocations: 67.89 kB / 1.137 GB, free: 12.17 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.232/1.234, allocations: 173.6 MB / 1.307 GB, free: 33.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001843/1.236, allocations: 0.7143 MB / 1.307 GB, free: 33.3 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001444/1.238, allocations: 1.26 MB / 1.309 GB, free: 32.39 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.529e-05/1.238, allocations: 0 / 1.309 GB, free: 32.39 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001198/1.238, allocations: 18.92 kB / 1.309 GB, free: 32.38 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.891e-05/1.238, allocations: 20.91 kB / 1.309 GB, free: 32.37 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007424/1.239, allocations: 238.4 kB / 1.309 GB, free: 32.25 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002712/1.239, allocations: 248.2 kB / 1.309 GB, free: 32.15 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/1.239, allocations: 35.69 kB / 1.309 GB, free: 32.13 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/1.239, allocations: 107 kB / 1.309 GB, free: 32.09 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/1.239, allocations: 89.61 kB / 1.309 GB, free: 32.05 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.62e-05/1.239, allocations: 20.97 kB / 1.309 GB, free: 32.05 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/1.24, allocations: 40.97 kB / 1.309 GB, free: 32.04 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.729e-05/1.24, allocations: 33 kB / 1.309 GB, free: 32.03 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001009/1.24, allocations: 92.08 kB / 1.31 GB, free: 31.97 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002698/1.24, allocations: 231.9 kB / 1.31 GB, free: 31.89 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/1.24, allocations: 2.875 kB / 1.31 GB, free: 31.89 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.603e-06/1.24, allocations: 0 / 1.31 GB, free: 31.89 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.686e-06/1.24, allocations: 0 / 1.31 GB, free: 31.89 MB / 1.061 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.0005685/1.241, allocations: 433 kB / 1.31 GB, free: 31.5 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/1.241, allocations: 13.03 kB / 1.31 GB, free: 31.5 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.355e-05/1.241, allocations: 20.53 kB / 1.31 GB, free: 31.49 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005439/1.241, allocations: 195.5 kB / 1.31 GB, free: 31.34 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/1.241, allocations: 15.64 kB / 1.31 GB, free: 31.33 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.939e-05/1.241, allocations: 18.62 kB / 1.31 GB, free: 31.33 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/1.241, allocations: 128 kB / 1.311 GB, free: 31.24 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/1.241, allocations: 3.938 kB / 1.311 GB, free: 31.24 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/1.241, allocations: 4 kB / 1.311 GB, free: 31.23 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/1.241, allocations: 2.375 kB / 1.311 GB, free: 31.23 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.593e-05/1.242, allocations: 49.91 kB / 1.311 GB, free: 31.22 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005501/1.242, allocations: 0.6368 MB / 1.311 GB, free: 30.66 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.962e-05/1.242, allocations: 38.94 kB / 1.311 GB, free: 30.61 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.259e-05/1.242, allocations: 15.83 kB / 1.311 GB, free: 30.59 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.059e-05/1.242, allocations: 0 / 1.311 GB, free: 30.59 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001494/1.242, allocations: 102.8 kB / 1.311 GB, free: 30.51 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/1.242, allocations: 3.938 kB / 1.311 GB, free: 30.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.000244/1.243, allocations: 104 kB / 1.312 GB, free: 30.45 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/1.243, allocations: 79.98 kB / 1.312 GB, free: 30.36 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/1.243, allocations: 167.1 kB / 1.312 GB, free: 30.23 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/1.243, allocations: 39.05 kB / 1.312 GB, free: 30.2 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.309e-05/1.243, allocations: 126.5 kB / 1.312 GB, free: 30.08 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.141e-05/1.243, allocations: 10.84 kB / 1.312 GB, free: 30.07 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.69e-05/1.243, allocations: 60.92 kB / 1.312 GB, free: 30.05 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.728e-05/1.243, allocations: 328.5 kB / 1.312 GB, free: 29.73 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/1.243, allocations: 53.22 kB / 1.312 GB, free: 29.71 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/1.243, allocations: 124.6 kB / 1.312 GB, free: 29.6 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/1.243, allocations: 177.9 kB / 1.313 GB, free: 29.44 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/1.243, allocations: 2.625 kB / 1.313 GB, free: 29.44 MB / 1.061 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003729/1.244, allocations: 274.8 kB / 1.313 GB, free: 29.28 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.905e-05/1.244, allocations: 61.97 kB / 1.313 GB, free: 29.21 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/1.244, allocations: 2.938 kB / 1.313 GB, free: 29.21 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/1.244, allocations: 2.906 kB / 1.313 GB, free: 29.21 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.203e-05/1.244, allocations: 14.08 kB / 1.313 GB, free: 29.21 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/1.244, allocations: 7.125 kB / 1.313 GB, free: 29.2 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003889/1.244, allocations: 67.44 kB / 1.313 GB, free: 29.2 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.875e-05/1.244, allocations: 16.48 kB / 1.313 GB, free: 29.19 MB / 1.061 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 9.468e-05/1.244, allocations: 139.5 kB / 1.313 GB, free: 29.07 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.725e-05/1.244, allocations: 17.36 kB / 1.313 GB, free: 29.05 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.246e-05/1.244, allocations: 18.69 kB / 1.313 GB, free: 29.04 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/1.244, allocations: 2.969 kB / 1.313 GB, free: 29.04 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/1.244, allocations: 0 / 1.313 GB, free: 29.04 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/1.244, allocations: 0 / 1.313 GB, free: 29.04 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/1.245, allocations: 176 kB / 1.313 GB, free: 28.86 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/1.245, allocations: 6.781 kB / 1.313 GB, free: 28.86 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.173e-06/1.245, allocations: 0 / 1.313 GB, free: 28.86 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/1.245, allocations: 2.906 kB / 1.313 GB, free: 28.86 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/1.245, allocations: 0 / 1.313 GB, free: 28.86 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/1.245, allocations: 0 / 1.313 GB, free: 28.86 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/1.245, allocations: 6.844 kB / 1.313 GB, free: 28.86 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/1.245, allocations: 115.8 kB / 1.314 GB, free: 28.76 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.283e-05/1.245, allocations: 18.2 kB / 1.314 GB, free: 28.75 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/1.245, allocations: 3.938 kB / 1.314 GB, free: 28.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.312e-05/1.245, allocations: 6.938 kB / 1.314 GB, free: 28.74 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.572e-05/1.245, allocations: 6.25 kB / 1.314 GB, free: 28.74 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/1.245, allocations: 6.844 kB / 1.314 GB, free: 28.74 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.007e-05/1.245, allocations: 125.7 kB / 1.314 GB, free: 28.64 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.245, allocations: 0 / 1.314 GB, free: 28.64 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002522/1.245, allocations: 42.39 kB / 1.314 GB, free: 28.64 MB / 1.061 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.0001282/1.245, allocations: 102.9 kB / 1.314 GB, free: 28.55 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002818/1.246, allocations: 205 kB / 1.314 GB, free: 28.39 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/1.246, allocations: 0.5 kB / 1.314 GB, free: 28.39 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.586e-05/1.246, allocations: 27.11 kB / 1.314 GB, free: 28.38 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/1.246, allocations: 30.95 kB / 1.314 GB, free: 28.37 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003908/1.246, allocations: 247.9 kB / 1.314 GB, free: 28.18 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000135/1.246, allocations: 0.7062 MB / 1.315 GB, free: 27.49 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.537e-05/1.246, allocations: 14.03 kB / 1.315 GB, free: 27.48 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.999e-05/1.246, allocations: 17.19 kB / 1.315 GB, free: 27.47 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/1.246, allocations: 0 / 1.315 GB, free: 27.47 MB / 1.061 GB Notification: Performance of Templates: time 0.004815/1.251, allocations: 2.028 MB / 1.317 GB, free: 27.27 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.128285058774054]