Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="Buildings_9_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.001578/0.001578, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001914/0.001914, allocations: 187.1 kB / 16.25 MB, free: 6.633 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.439/1.439, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.486/2.486, allocations: 390.3 MB / 0.6644 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 63.91 kB / 0.8122 GB, free: 14.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7237/0.7251, allocations: 140.4 MB / 0.9493 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001894/0.727, allocations: 0.7727 MB / 0.95 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.7282, allocations: 1.235 MB / 0.9512 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.85e-05/0.7283, allocations: 5.312 kB / 0.9512 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.7284, allocations: 9.297 kB / 0.9512 GB, free: 7.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.547e-05/0.7284, allocations: 9.297 kB / 0.9512 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005743/0.729, allocations: 215.7 kB / 0.9514 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002246/0.7292, allocations: 261.2 kB / 0.9517 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.7294, allocations: 44.59 kB / 0.9517 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.7295, allocations: 103.7 kB / 0.9518 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001859/0.7297, allocations: 105.9 kB / 0.9519 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.482e-05/0.7297, allocations: 20.06 kB / 0.952 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.273e-05/0.7298, allocations: 27.58 kB / 0.952 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.241e-05/0.7298, allocations: 37.97 kB / 0.952 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.925e-05/0.7299, allocations: 79.73 kB / 0.9521 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.7301, allocations: 215.4 kB / 0.9523 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.7301, allocations: 0 / 0.9523 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.383e-06/0.7301, allocations: 4 kB / 0.9523 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.7301, allocations: 0 / 0.9523 GB, free: 6.812 MB / 0.7169 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.0004144/0.7306, allocations: 0.4973 MB / 0.9528 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.7306, allocations: 9.188 kB / 0.9528 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.842e-05/0.7306, allocations: 41.72 kB / 0.9528 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.484e-05/0.7307, allocations: 20.3 kB / 0.9529 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000481/0.7312, allocations: 252.5 kB / 0.9531 GB, free: 6 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.7312, allocations: 16.2 kB / 0.9531 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.281e-05/0.7312, allocations: 17.28 kB / 0.9531 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.7314, allocations: 135.5 kB / 0.9533 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.7314, allocations: 5.219 kB / 0.9533 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.7314, allocations: 1.75 kB / 0.9533 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.7314, allocations: 2.5 kB / 0.9533 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.247e-05/0.7315, allocations: 53.59 kB / 0.9533 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000488/0.732, allocations: 0.6642 MB / 0.954 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.821e-05/0.7321, allocations: 51.58 kB / 0.954 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.162e-05/0.7321, allocations: 16.78 kB / 0.954 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/0.7321, allocations: 5.719 kB / 0.954 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001876/0.7323, allocations: 95.78 kB / 0.9541 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.7323, allocations: 0.8438 kB / 0.9541 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0002543/0.7326, allocations: 104.5 kB / 0.9542 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.7326, allocations: 78.36 kB / 0.9543 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.7328, allocations: 169.7 kB / 0.9545 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.7328, allocations: 29.61 kB / 0.9545 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.925e-05/0.7329, allocations: 127 kB / 0.9546 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.217e-05/0.7329, allocations: 6.094 kB / 0.9546 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.733, allocations: 64.27 kB / 0.9547 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.295e-05/0.7331, allocations: 322 kB / 0.955 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.7332, allocations: 51.22 kB / 0.955 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.7334, allocations: 103.7 kB / 0.9551 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.7335, allocations: 178.6 kB / 0.9553 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.7336, allocations: 0 / 0.9553 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003648/0.7339, allocations: 275.7 kB / 0.9556 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.144e-05/0.734, allocations: 68.48 kB / 0.9556 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.734, allocations: 2.25 kB / 0.9556 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.734, allocations: 2.125 kB / 0.9556 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.077e-05/0.734, allocations: 3.438 kB / 0.9556 GB, free: 3.645 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.734, allocations: 6.344 kB / 0.9556 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003049/0.7344, allocations: 55.75 kB / 0.9557 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.147e-05/0.7344, allocations: 14.02 kB / 0.9557 GB, free: 3.613 MB / 0.7169 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.0001007/0.7345, allocations: 134.5 kB / 0.9558 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.91e-05/0.7345, allocations: 17.41 kB / 0.9559 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.029e-05/0.7346, allocations: 11.09 kB / 0.9559 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.7346, allocations: 1.406 kB / 0.9559 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.7346, allocations: 1.344 kB / 0.9559 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.7346, allocations: 3.984 kB / 0.9559 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/0.7347, allocations: 215.6 kB / 0.9561 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.7347, allocations: 0 / 0.9561 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.877e-06/0.7347, allocations: 5.922 kB / 0.9561 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.7347, allocations: 1.062 kB / 0.9561 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.7348, allocations: 1.188 kB / 0.9561 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.7348, allocations: 5.125 kB / 0.9561 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.7348, allocations: 1.219 kB / 0.9561 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001254/0.7349, allocations: 115.1 kB / 0.9562 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.09e-05/0.7349, allocations: 88.23 kB / 0.9563 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.735, allocations: 1.312 kB / 0.9563 GB, free: 3.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.34e-05/0.735, allocations: 5.594 kB / 0.9563 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.91e-05/0.735, allocations: 10.8 kB / 0.9563 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.803e-06/0.735, allocations: 2.969 kB / 0.9563 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.793e-05/0.7351, allocations: 118.7 kB / 0.9564 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7351, allocations: 0 / 0.9564 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002514/0.7354, allocations: 41.88 kB / 0.9565 GB, free: 2.898 MB / 0.7169 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.0003369/0.7357, allocations: 0.6587 MB / 0.9571 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003064/0.736, allocations: 238.5 kB / 0.9573 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.736, allocations: 0.5 kB / 0.9573 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.661e-05/0.7361, allocations: 22.28 kB / 0.9574 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.7363, allocations: 25.59 kB / 0.9574 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/0.7381, allocations: 1.94 MB / 0.9593 GB, free: 384 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.7383, allocations: 0.7158 MB / 0.96 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.69e-05/0.7384, allocations: 8.422 kB / 0.96 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.269e-05/0.7384, allocations: 36.95 kB / 0.96 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.7384, allocations: 0 / 0.96 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02371/0.7621, allocations: 3.319 MB / 0.9633 GB, free: 14 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001938/0.7624, allocations: 215.6 kB / 0.9635 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.965/2.728, allocations: 1.094 kB / 0.9635 GB, free: 13.75 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches