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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="Buildings_latest_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.00633/0.00633, allocations: 101.3 kB / 15.73 MB, free: 6.051 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.001726/0.001726, allocations: 194.3 kB / 16.67 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.292/1.292, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.583/2.583, allocations: 482.6 MB / 0.7551 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001773, allocations: 68.44 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.265, allocations: 162.3 MB / 1.242 GB, free: 8.914 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001701/0.2668, allocations: 0.7115 MB / 1.243 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001428/0.2682, allocations: 1.246 MB / 1.244 GB, free: 6.945 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.089e-05/0.2683, allocations: 4 kB / 1.244 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 8.581e-05/0.2684, allocations: 7.875 kB / 1.244 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.073e-05/0.2684, allocations: 19.84 kB / 1.244 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006087/0.269, allocations: 242 kB / 1.244 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003041/0.2693, allocations: 255.6 kB / 1.244 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.2695, allocations: 44.19 kB / 1.244 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.2696, allocations: 99.88 kB / 1.244 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.2697, allocations: 75.77 kB / 1.244 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.566e-05/0.2698, allocations: 20 kB / 1.244 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.2699, allocations: 47.91 kB / 1.245 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.875e-05/0.27, allocations: 39.84 kB / 1.245 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.2701, allocations: 87.64 kB / 1.245 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002699/0.2704, allocations: 235.2 kB / 1.245 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.2704, allocations: 0 / 1.245 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2704, allocations: 4 kB / 1.245 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.2704, allocations: 0 / 1.245 GB, free: 5.793 MB / 0.9669 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.0005586/0.271, allocations: 0.5021 MB / 1.245 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.271, allocations: 8.031 kB / 1.245 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.419e-05/0.271, allocations: 38.75 kB / 1.245 GB, free: 5.172 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.686e-05/0.2711, allocations: 20.84 kB / 1.245 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005132/0.2716, allocations: 260.2 kB / 1.246 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.2716, allocations: 16.38 kB / 1.246 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.959e-05/0.2717, allocations: 20.38 kB / 1.246 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.2719, allocations: 137.3 kB / 1.246 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.2719, allocations: 0 / 1.246 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.2719, allocations: 0 / 1.246 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.2719, allocations: 7.984 kB / 1.246 GB, free: 4.664 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.829e-05/0.272, allocations: 47.91 kB / 1.246 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006066/0.2726, allocations: 0.6729 MB / 1.247 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.456e-05/0.2727, allocations: 41.16 kB / 1.247 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.056e-05/0.2727, allocations: 17.78 kB / 1.247 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.029e-06/0.2727, allocations: 3.938 kB / 1.247 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001419/0.2729, allocations: 93.02 kB / 1.247 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.2729, allocations: 0 / 1.247 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0002105/0.2731, allocations: 105.6 kB / 1.247 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.2731, allocations: 85.05 kB / 1.247 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.2733, allocations: 169.7 kB / 1.247 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/0.2733, allocations: 29.7 kB / 1.247 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.114e-05/0.2734, allocations: 128 kB / 1.247 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.217e-06/0.2734, allocations: 3.953 kB / 1.247 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.2736, allocations: 65.61 kB / 1.247 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.2737, allocations: 326.8 kB / 1.248 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.2738, allocations: 51.97 kB / 1.248 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000158/0.274, allocations: 116.5 kB / 1.248 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.2742, allocations: 178.2 kB / 1.248 GB, free: 2.328 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2742, allocations: 3.938 kB / 1.248 GB, free: 2.324 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004092/0.2746, allocations: 276.9 kB / 1.248 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.506e-05/0.2746, allocations: 63.41 kB / 1.248 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.2747, allocations: 4 kB / 1.248 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.2747, allocations: 0 / 1.248 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.763e-05/0.2747, allocations: 7.984 kB / 1.248 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/0.2747, allocations: 7.938 kB / 1.248 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003697/0.2751, allocations: 71.81 kB / 1.248 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.847e-05/0.2751, allocations: 12 kB / 1.248 GB, free: 1.859 MB / 0.9669 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.0001194/0.2752, allocations: 147.7 kB / 1.248 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.702e-05/0.2753, allocations: 11.89 kB / 1.249 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.923e-05/0.2753, allocations: 12.25 kB / 1.249 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2753, allocations: 384 / 1.249 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.2753, allocations: 0 / 1.249 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2753, allocations: 0 / 1.249 GB, free: 1.68 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.2755, allocations: 209.5 kB / 1.249 GB, free: 1.426 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.2755, allocations: 3.984 kB / 1.249 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.783e-06/0.2755, allocations: 4 kB / 1.249 GB, free: 1.418 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.2755, allocations: 4 kB / 1.249 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.477e-06/0.2755, allocations: 7.984 kB / 1.249 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2755, allocations: 0 / 1.249 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.2756, allocations: 3.938 kB / 1.249 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.2757, allocations: 117.9 kB / 1.249 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.834e-05/0.2758, allocations: 89.02 kB / 1.249 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.2758, allocations: 4 kB / 1.249 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.015e-05/0.2758, allocations: 0 / 1.249 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.761e-05/0.2758, allocations: 7.984 kB / 1.249 GB, free: 1.148 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.2758, allocations: 8 kB / 1.249 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.202e-05/0.2759, allocations: 118.5 kB / 1.249 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2759, allocations: 0 / 1.249 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002418/0.2762, allocations: 43.89 kB / 1.249 GB, free: 0.9844 MB / 0.9669 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.0004329/0.2766, allocations: 0.6605 MB / 1.25 GB, free: 300 kB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003115/0.2769, allocations: 234.8 kB / 1.25 GB, free: 40 kB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.277, allocations: 3.938 kB / 1.25 GB, free: 36 kB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 4.179e-05/0.277, allocations: 27.88 kB / 1.25 GB, free: 8 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.2772, allocations: 20.53 kB / 1.25 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/0.2793, allocations: 1.918 MB / 1.252 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.2796, allocations: 0.7119 MB / 1.253 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.772e-05/0.2796, allocations: 12.88 kB / 1.253 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.264e-05/0.2797, allocations: 43.42 kB / 1.253 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.2797, allocations: 0 / 1.253 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.327/1.607, allocations: 3.622 MB / 1.256 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/12.57, allocations: 24.78 kB / 1.256 GB, free: 9.656 MB / 0.9825 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.fmu > 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