Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=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_10_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_10_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.001743/0.001743, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002326/0.002326, allocations: 195.5 kB / 16.14 MB, free: 6.629 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.564/1.564, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.854/2.854, allocations: 437 MB / 0.7099 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 71.89 kB / 0.8686 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.74/0.7419, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.00253/0.7445, allocations: 0.7879 MB / 1.017 GB, free: 2.012 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002631/0.7472, allocations: 1.253 MB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.566e-05/0.7473, allocations: 8 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001615/0.7474, allocations: 15.86 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.062e-05/0.7475, allocations: 7.922 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008128/0.7484, allocations: 220.8 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0003345/0.7487, allocations: 215.6 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002194/0.7489, allocations: 39.95 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001688/0.7491, allocations: 95.75 kB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003273/0.7495, allocations: 95.75 kB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 4.724e-05/0.7495, allocations: 8 kB / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.933e-05/0.7496, allocations: 31.98 kB / 1.019 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.556e-05/0.7497, allocations: 31.91 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.7499, allocations: 75.62 kB / 1.019 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003331/0.7502, allocations: 209.4 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.7502, allocations: 0 / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.012e-06/0.7502, allocations: 0 / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.7502, allocations: 4 kB / 1.02 GB, free: 15.71 MB / 0.7794 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.001075/0.7513, allocations: 0.4905 MB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.7514, allocations: 8.031 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.79e-05/0.7515, allocations: 20.75 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006365/0.7521, allocations: 265.2 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.414e-05/0.7521, allocations: 16.36 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.7522, allocations: 12.38 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002581/0.7524, allocations: 125.6 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.7525, allocations: 11.94 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.7525, allocations: 4 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.7525, allocations: 3.984 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.296e-05/0.7526, allocations: 51.91 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008782/0.7535, allocations: 0.6649 MB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.047e-05/0.7536, allocations: 37.09 kB / 1.021 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.285e-05/0.7536, allocations: 17.84 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.7537, allocations: 11.92 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002792/0.7539, allocations: 97.03 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.7539, allocations: 0 / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0002902/0.7542, allocations: 97.42 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.423e-05/0.7543, allocations: 81.11 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.7545, allocations: 175.8 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.463e-05/0.7546, allocations: 37.7 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.7547, allocations: 123.9 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.7548, allocations: 15.8 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001349/0.7549, allocations: 53.69 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002275/0.7551, allocations: 326.8 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.7553, allocations: 47.97 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000186/0.7555, allocations: 106.8 kB / 1.022 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002871/0.7558, allocations: 182.1 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.7558, allocations: 0 / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005395/0.7563, allocations: 264.7 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.646e-05/0.7564, allocations: 69.58 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.7565, allocations: 0 / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.7565, allocations: 4 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.286e-05/0.7565, allocations: 7.938 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.7565, allocations: 4.25 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004074/0.757, allocations: 59.78 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.539e-05/0.757, allocations: 15.98 kB / 1.023 GB, free: 11.88 MB / 0.7794 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.0001828/0.7572, allocations: 137.8 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.821e-05/0.7572, allocations: 11.84 kB / 1.023 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.868e-05/0.7573, allocations: 20.61 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.7573, allocations: 4 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.7573, allocations: 0 / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.7573, allocations: 0 / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002353/0.7576, allocations: 201.6 kB / 1.023 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/0.7576, allocations: 7.938 kB / 1.023 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.015e-06/0.7576, allocations: 0 / 1.023 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.7576, allocations: 0 / 1.023 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.7576, allocations: 4 kB / 1.023 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.7576, allocations: 0 / 1.023 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.7576, allocations: 0 / 1.023 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001942/0.7578, allocations: 117.8 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.581e-05/0.7579, allocations: 92.86 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.503e-05/0.758, allocations: 7.984 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.41e-05/0.758, allocations: 4.062 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.758, allocations: 4.094 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.758, allocations: 7.938 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001185/0.7582, allocations: 127.2 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7582, allocations: 0 / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002864/0.7585, allocations: 35.94 kB / 1.024 GB, free: 11.01 MB / 0.7794 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.0002657/0.7587, allocations: 103.8 kB / 1.024 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004352/0.7592, allocations: 238.6 kB / 1.024 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.7592, allocations: 0 / 1.024 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.024e-05/0.7593, allocations: 20.48 kB / 1.024 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.7596, allocations: 30.45 kB / 1.024 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006467/0.7602, allocations: 277.9 kB / 1.024 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004389/0.7607, allocations: 0.7082 MB / 1.025 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.515e-05/0.7608, allocations: 12.88 kB / 1.025 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.87e-05/0.7608, allocations: 11.44 kB / 1.025 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of SimCode: time 7.92e-07/0.7608, allocations: 4 kB / 1.025 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of Templates: time 0.005717/0.7665, allocations: 1.765 MB / 1.027 GB, free: 7.785 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches