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: "" <> 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.005451/0.005451, allocations: 95.83 kB / 15.73 MB, free: 6.039 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.001406/0.001406, allocations: 200.1 kB / 16.68 MB, free: 5.969 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.453/2.453, allocations: 437.1 MB / 0.7106 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001728, allocations: 67.89 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2528, allocations: 151.6 MB / 1.166 GB, free: 7.281 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001576/0.2544, allocations: 0.7083 MB / 1.167 GB, free: 6.562 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001437/0.2559, allocations: 1.257 MB / 1.168 GB, free: 5.289 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.617e-05/0.2559, allocations: 0 / 1.168 GB, free: 5.289 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 8.68e-05/0.256, allocations: 11.88 kB / 1.168 GB, free: 5.277 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.128e-05/0.2561, allocations: 15.86 kB / 1.168 GB, free: 5.262 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005965/0.2567, allocations: 234.1 kB / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002875/0.257, allocations: 259.6 kB / 1.169 GB, free: 4.785 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.2571, allocations: 40.2 kB / 1.169 GB, free: 4.746 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.2572, allocations: 99.86 kB / 1.169 GB, free: 4.648 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001462/0.2574, allocations: 91.69 kB / 1.169 GB, free: 4.559 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.277e-05/0.2574, allocations: 20 kB / 1.169 GB, free: 4.539 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.466e-05/0.2575, allocations: 43.92 kB / 1.169 GB, free: 4.496 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.852e-05/0.2576, allocations: 31.86 kB / 1.169 GB, free: 4.465 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.2577, allocations: 91.61 kB / 1.169 GB, free: 4.375 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002603/0.258, allocations: 227.2 kB / 1.169 GB, free: 4.152 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.258, allocations: 0 / 1.169 GB, free: 4.152 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.032e-06/0.258, allocations: 4 kB / 1.169 GB, free: 4.148 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.258, allocations: 0 / 1.169 GB, free: 4.148 MB / 0.92 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.0005452/0.2585, allocations: 0.4982 MB / 1.17 GB, free: 3.586 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.2586, allocations: 12.03 kB / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.324e-05/0.2586, allocations: 46.67 kB / 1.17 GB, free: 3.52 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.541e-05/0.2587, allocations: 20.84 kB / 1.17 GB, free: 3.5 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005038/0.2592, allocations: 264.1 kB / 1.17 GB, free: 3.203 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.2592, allocations: 8.375 kB / 1.17 GB, free: 3.195 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.432e-05/0.2592, allocations: 20.38 kB / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.2594, allocations: 139.4 kB / 1.17 GB, free: 3.023 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.2595, allocations: 3.938 kB / 1.17 GB, free: 3.02 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.2595, allocations: 0 / 1.17 GB, free: 3.02 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.2595, allocations: 4 kB / 1.17 GB, free: 3.016 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.212e-05/0.2596, allocations: 55.91 kB / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006129/0.2602, allocations: 0.6651 MB / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.362e-05/0.2602, allocations: 37.09 kB / 1.171 GB, free: 2.18 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.402e-05/0.2603, allocations: 17.84 kB / 1.171 GB, free: 2.156 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.818e-06/0.2603, allocations: 7.922 kB / 1.171 GB, free: 2.148 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001471/0.2604, allocations: 101 kB / 1.171 GB, free: 2.031 MB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 1.021e-06/0.2605, allocations: 0 / 1.171 GB, free: 2.031 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.0002067/0.2607, allocations: 97.94 kB / 1.171 GB, free: 1.93 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/0.2607, allocations: 85.09 kB / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.2609, allocations: 166.2 kB / 1.171 GB, free: 1.652 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.715e-05/0.2609, allocations: 37.7 kB / 1.171 GB, free: 1.609 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.481e-05/0.261, allocations: 120 kB / 1.172 GB, free: 1.488 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.416e-05/0.261, allocations: 15.92 kB / 1.172 GB, free: 1.473 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.2611, allocations: 65.64 kB / 1.172 GB, free: 1.402 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.2613, allocations: 318.8 kB / 1.172 GB, free: 1.082 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.2614, allocations: 55.95 kB / 1.172 GB, free: 1.027 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.2615, allocations: 120.5 kB / 1.172 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001965/0.2617, allocations: 178.2 kB / 1.172 GB, free: 0.668 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2618, allocations: 3.938 kB / 1.172 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003959/0.2622, allocations: 268.7 kB / 1.173 GB, free: 392 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.748e-05/0.2622, allocations: 61.44 kB / 1.173 GB, free: 320 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.2622, allocations: 7.984 kB / 1.173 GB, free: 312 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.2622, allocations: 4.25 kB / 1.173 GB, free: 308 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.525e-05/0.2623, allocations: 8 kB / 1.173 GB, free: 300 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.2623, allocations: 7.938 kB / 1.173 GB, free: 292 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003652/0.2626, allocations: 71.81 kB / 1.173 GB, free: 220 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.889e-05/0.2627, allocations: 15.98 kB / 1.173 GB, free: 204 kB / 0.92 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.0001107/0.2628, allocations: 135.8 kB / 1.173 GB, free: 60 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.722e-05/0.2628, allocations: 15.89 kB / 1.173 GB, free: 44 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.956e-05/0.2629, allocations: 12.25 kB / 1.173 GB, free: 24 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2629, allocations: 0 / 1.173 GB, free: 24 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.2629, allocations: 4 kB / 1.173 GB, free: 20 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2629, allocations: 3.984 kB / 1.173 GB, free: 16 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001738/0.2631, allocations: 197.6 kB / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2631, allocations: 0 / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.03e-05/0.2631, allocations: 7.984 kB / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.2631, allocations: 96 / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.2631, allocations: 7.875 kB / 1.173 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.2631, allocations: 8 kB / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2631, allocations: 0 / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.2633, allocations: 117.8 kB / 1.173 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.897e-05/0.2633, allocations: 85.12 kB / 1.173 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.2633, allocations: 4 kB / 1.173 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.964e-05/0.2634, allocations: 0 / 1.173 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.179e-05/0.2634, allocations: 11.98 kB / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.2634, allocations: 8 kB / 1.173 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.179e-05/0.2635, allocations: 117 kB / 1.173 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2635, allocations: 4 kB / 1.173 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002338/0.2637, allocations: 35.89 kB / 1.173 GB, free: 15.34 MB / 0.9356 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.0004517/0.2642, allocations: 0.6639 MB / 1.174 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003114/0.2645, allocations: 242.6 kB / 1.174 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.2645, allocations: 0 / 1.174 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.049e-05/0.2646, allocations: 23.92 kB / 1.174 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.2648, allocations: 19.98 kB / 1.174 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001994/0.2668, allocations: 1.935 MB / 1.176 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.2671, allocations: 0.708 MB / 1.177 GB, free: 11.53 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.891e-05/0.2671, allocations: 16.88 kB / 1.177 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.67e-05/0.2672, allocations: 35.42 kB / 1.177 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of SimCode: time 2.11e-07/0.2672, allocations: 0 / 1.177 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.412/3.679, allocations: 3.621 MB / 1.181 GB, free: 8.02 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/14.36, allocations: 4.5 kB / 1.181 GB, free: 8.016 MB / 0.9356 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=400 --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