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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Routing.Validation.BooleanExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001711/0.001711, allocations: 197.9 kB / 16.79 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.712/2.712, allocations: 461.8 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 69.5 kB / 0.8991 GB, free: 37.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3427, allocations: 157.4 MB / 1.053 GB, free: 8.336 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002355/0.3451, allocations: 0.77 MB / 1.054 GB, free: 7.562 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001904/0.347, allocations: 1.268 MB / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.112e-05/0.3471, allocations: 4 kB / 1.055 GB, free: 6.277 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001325/0.3473, allocations: 19.86 kB / 1.055 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.963e-05/0.3473, allocations: 3.938 kB / 1.055 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007534/0.3481, allocations: 225 kB / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002778/0.3484, allocations: 215.6 kB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.3486, allocations: 31.98 kB / 1.055 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001915/0.3488, allocations: 103.7 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002707/0.349, allocations: 95.77 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.951e-05/0.3491, allocations: 8 kB / 1.055 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.3492, allocations: 27.98 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.378e-05/0.3493, allocations: 27.91 kB / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.3494, allocations: 79.64 kB / 1.056 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.3496, allocations: 163.8 kB / 1.056 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3497, allocations: 3.938 kB / 1.056 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3497, allocations: 0 / 1.056 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.3497, allocations: 0 / 1.056 GB, free: 5.297 MB / 0.8106 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.00069/0.3504, allocations: 498.3 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.3504, allocations: 11.97 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.19e-05/0.3505, allocations: 20.75 kB / 1.056 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006865/0.3512, allocations: 265 kB / 1.056 GB, free: 4.418 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/0.3512, allocations: 12.38 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.003e-05/0.3513, allocations: 12.38 kB / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000238/0.3515, allocations: 125.6 kB / 1.057 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.3516, allocations: 7.938 kB / 1.057 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.3516, allocations: 11.98 kB / 1.057 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.3516, allocations: 4 kB / 1.057 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.3517, allocations: 51.91 kB / 1.057 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007979/0.3525, allocations: 0.6572 MB / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.95e-05/0.3526, allocations: 41.09 kB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.095e-05/0.3526, allocations: 21.83 kB / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.684e-06/0.3527, allocations: 4 kB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000242/0.3529, allocations: 89.03 kB / 1.057 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=6): time 1.532e-06/0.3529, allocations: 4 kB / 1.057 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6): time 0.0002937/0.3532, allocations: 97.42 kB / 1.058 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/0.3533, allocations: 85.09 kB / 1.058 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.3535, allocations: 175.9 kB / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.887e-05/0.3535, allocations: 37.69 kB / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.3536, allocations: 123.9 kB / 1.058 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.3537, allocations: 7.812 kB / 1.058 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.3538, allocations: 57.69 kB / 1.058 GB, free: 2.641 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.3539, allocations: 322.8 kB / 1.058 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.354, allocations: 51.97 kB / 1.058 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/0.3542, allocations: 106.8 kB / 1.058 GB, free: 2.137 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002406/0.3544, allocations: 182.5 kB / 1.059 GB, free: 1.922 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.3544, allocations: 4 kB / 1.059 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004479/0.3549, allocations: 264.7 kB / 1.059 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 6.022e-05/0.355, allocations: 67.39 kB / 1.059 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.355, allocations: 0 / 1.059 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.355, allocations: 4 kB / 1.059 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.419e-05/0.355, allocations: 4 kB / 1.059 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.355, allocations: 3.984 kB / 1.059 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003203/0.3554, allocations: 52.11 kB / 1.059 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.451e-05/0.3554, allocations: 19.98 kB / 1.059 GB, free: 1.48 MB / 0.8106 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.0001393/0.3556, allocations: 141.8 kB / 1.059 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.213e-05/0.3556, allocations: 15.78 kB / 1.059 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.599e-05/0.3556, allocations: 16.23 kB / 1.059 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.3556, allocations: 8 kB / 1.059 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3557, allocations: 0 / 1.059 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3557, allocations: 0 / 1.059 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.3558, allocations: 201.6 kB / 1.059 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.3558, allocations: 7.938 kB / 1.059 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.604e-06/0.3559, allocations: 0 / 1.059 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.3559, allocations: 0 / 1.059 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.3559, allocations: 4 kB / 1.059 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.3559, allocations: 4 kB / 1.059 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3559, allocations: 0 / 1.059 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001523/0.3561, allocations: 117.8 kB / 1.06 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.865e-05/0.3561, allocations: 96.84 kB / 1.06 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.3561, allocations: 0 / 1.06 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.225e-05/0.3562, allocations: 4 kB / 1.06 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.046e-05/0.3562, allocations: 0 / 1.06 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-06/0.3562, allocations: 15.92 kB / 1.06 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.996e-05/0.3563, allocations: 120.1 kB / 1.06 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3563, allocations: 4 kB / 1.06 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002667/0.3566, allocations: 36 kB / 1.06 GB, free: 0.6055 MB / 0.8106 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.0001586/0.3567, allocations: 107.2 kB / 1.06 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003301/0.3571, allocations: 234.6 kB / 1.06 GB, free: 244 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3571, allocations: 0 / 1.06 GB, free: 244 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.072e-05/0.3572, allocations: 23.98 kB / 1.06 GB, free: 220 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002593/0.3574, allocations: 24.42 kB / 1.06 GB, free: 196 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005126/0.3579, allocations: 303.9 kB / 1.06 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.3583, allocations: 0.7121 MB / 1.061 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.466e-05/0.3583, allocations: 15.44 kB / 1.061 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of SimCode: time 4.11e-07/0.3583, allocations: 0 / 1.061 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of Templates: time 0.004382/0.3627, allocations: 1.854 MB / 1.063 GB, free: 13.26 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches