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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001058/0.001059, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001052/0.001052, allocations: 195.6 kB / 16.14 MB, free: 6.711 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.28/1.28, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.399/2.399, allocations: 437 MB / 0.7099 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 63.91 kB / 0.8687 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5537/0.555, allocations: 151.6 MB / 1.017 GB, free: 2.824 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001862/0.5569, allocations: 0.7784 MB / 1.017 GB, free: 2.047 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001522/0.5585, allocations: 1.269 MB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.332e-05/0.5585, allocations: 0 / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.5587, allocations: 11.86 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.433e-05/0.5587, allocations: 11.92 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006896/0.5594, allocations: 222.8 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002385/0.5597, allocations: 215.7 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.5598, allocations: 43.89 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.56, allocations: 95.81 kB / 1.019 GB, free: 184 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002369/0.5602, allocations: 91.75 kB / 1.019 GB, free: 92 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 4.766e-05/0.5603, allocations: 12 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.231e-05/0.5604, allocations: 23.98 kB / 1.019 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.844e-05/0.5604, allocations: 39.84 kB / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.5605, allocations: 75.69 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.5608, allocations: 209.6 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.5608, allocations: 0 / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.92e-07/0.5608, allocations: 0 / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.5608, allocations: 0 / 1.02 GB, free: 15.74 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.0005356/0.5614, allocations: 0.4944 MB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.5614, allocations: 12.03 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.77e-05/0.5614, allocations: 38.75 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.66e-05/0.5615, allocations: 20.75 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005671/0.5621, allocations: 261.9 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.5621, allocations: 8.375 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.407e-05/0.5622, allocations: 20.38 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.5624, allocations: 137.3 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.5624, allocations: 0 / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.5624, allocations: 0 / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.5624, allocations: 4 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.224e-05/0.5625, allocations: 47.91 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006076/0.5631, allocations: 0.6649 MB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.985e-05/0.5632, allocations: 45.14 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.212e-05/0.5632, allocations: 17.78 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.591e-06/0.5632, allocations: 3.938 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001705/0.5634, allocations: 85.09 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 4.628e-06/0.5634, allocations: 0 / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0002275/0.5636, allocations: 117.3 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.5637, allocations: 88.98 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.5638, allocations: 171.6 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.5639, allocations: 29.7 kB / 1.022 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.214e-05/0.564, allocations: 119.9 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.492e-05/0.564, allocations: 19.81 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.077e-05/0.5641, allocations: 57.67 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.484e-05/0.5642, allocations: 322.8 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.5643, allocations: 55.97 kB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.5644, allocations: 102.8 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000182/0.5646, allocations: 170.1 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.5646, allocations: 4 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000392/0.565, allocations: 272.6 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.221e-05/0.5651, allocations: 63.66 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.5651, allocations: 7.984 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.5651, allocations: 4 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.712e-05/0.5651, allocations: 0 / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.5652, allocations: 4 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002938/0.5655, allocations: 59.78 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.93e-05/0.5655, allocations: 15.98 kB / 1.023 GB, free: 11.86 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.0001099/0.5656, allocations: 144.5 kB / 1.023 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.236e-05/0.5656, allocations: 11.84 kB / 1.023 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.986e-05/0.5657, allocations: 12.25 kB / 1.023 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.5657, allocations: 0 / 1.023 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.5657, allocations: 4 kB / 1.023 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.5657, allocations: 0 / 1.023 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.5658, allocations: 205.6 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.5658, allocations: 0 / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.799e-06/0.5659, allocations: 7.984 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.5659, allocations: 8 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.5659, allocations: 0 / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.5659, allocations: 0 / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5659, allocations: 0 / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.566, allocations: 117.8 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.151e-05/0.5661, allocations: 89.3 kB / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.5661, allocations: 0 / 1.024 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.302e-05/0.5661, allocations: 11.94 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.567e-05/0.5662, allocations: 7.984 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-06/0.5662, allocations: 4 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.355e-05/0.5662, allocations: 118.5 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5663, allocations: 0 / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002489/0.5665, allocations: 40.03 kB / 1.024 GB, free: 11 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.0003882/0.5669, allocations: 0.6715 MB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002965/0.5672, allocations: 230.7 kB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.5672, allocations: 0 / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.06e-05/0.5673, allocations: 23.94 kB / 1.025 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002343/0.5675, allocations: 24.48 kB / 1.025 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/0.5694, allocations: 1.925 MB / 1.027 GB, free: 7.926 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002318/0.5697, allocations: 0.7041 MB / 1.027 GB, free: 7.195 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.068e-05/0.5697, allocations: 16.88 kB / 1.027 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.872e-05/0.5698, allocations: 43.36 kB / 1.027 GB, free: 7.137 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.5698, allocations: 4 kB / 1.027 GB, free: 7.133 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01268/0.5825, allocations: 3.229 MB / 1.031 GB, free: 4.066 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001866/0.5827, allocations: 222.4 kB / 1.031 GB, free: 3.809 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.61/2.192, allocations: 0 / 1.031 GB, free: 3.809 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.fmu > 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/jenkins1/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