Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="Buildings_11_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.001332/0.001332, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 197 kB / 16.53 MB, free: 6.672 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.335/1.335, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.639/2.639, allocations: 469.8 MB / 0.7424 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 76.89 kB / 0.9087 GB, free: 34.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.2587, allocations: 159.1 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001982/0.2608, allocations: 0.7152 MB / 1.065 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001687/0.2625, allocations: 1.246 MB / 1.066 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.083e-05/0.2626, allocations: 11.94 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.64e-05/0.2627, allocations: 11.88 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.745e-05/0.2627, allocations: 11.86 kB / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007069/0.2634, allocations: 237.5 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003187/0.2638, allocations: 251.6 kB / 1.067 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001331/0.2639, allocations: 39.97 kB / 1.067 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.2641, allocations: 107.8 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002308/0.2643, allocations: 87.78 kB / 1.067 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.794e-05/0.2644, allocations: 16 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.339e-05/0.2645, allocations: 35.98 kB / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.289e-05/0.2645, allocations: 39.89 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.2647, allocations: 83.64 kB / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002824/0.2649, allocations: 215.6 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.265, allocations: 0 / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.363e-06/0.265, allocations: 0 / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.265, allocations: 0 / 1.067 GB, free: 11.14 MB / 0.8262 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.0006356/0.2656, allocations: 0.4906 MB / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.2657, allocations: 8.031 kB / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.93e-05/0.2657, allocations: 42.69 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.878e-05/0.2658, allocations: 24.75 kB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006047/0.2664, allocations: 260.2 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.2664, allocations: 12.38 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.389e-05/0.2665, allocations: 12.38 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.2667, allocations: 135.4 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.2667, allocations: 7.984 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.2668, allocations: 8 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2668, allocations: 0 / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.073e-05/0.2669, allocations: 51.91 kB / 1.068 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006964/0.2676, allocations: 0.6572 MB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.722e-05/0.2676, allocations: 45.08 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.772e-05/0.2677, allocations: 17.84 kB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.167e-06/0.2677, allocations: 3.938 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001838/0.2679, allocations: 96.94 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.2679, allocations: 0 / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0002356/0.2681, allocations: 101.5 kB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.566e-05/0.2682, allocations: 81.11 kB / 1.069 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.2684, allocations: 171.2 kB / 1.069 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.005e-05/0.2684, allocations: 37.7 kB / 1.069 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.419e-05/0.2685, allocations: 119.9 kB / 1.069 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.252e-05/0.2685, allocations: 7.812 kB / 1.069 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.909e-05/0.2686, allocations: 61.67 kB / 1.069 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.2688, allocations: 318.8 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.2689, allocations: 55.95 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.2691, allocations: 103.5 kB / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002065/0.2693, allocations: 182.1 kB / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2693, allocations: 0 / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004282/0.2697, allocations: 268.7 kB / 1.07 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.39e-05/0.2698, allocations: 67.41 kB / 1.07 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2698, allocations: 0 / 1.07 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.2698, allocations: 4 kB / 1.07 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.224e-05/0.2699, allocations: 8.234 kB / 1.07 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.2699, allocations: 7.938 kB / 1.07 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003107/0.2702, allocations: 55.78 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.01e-05/0.2702, allocations: 16 kB / 1.071 GB, free: 7.266 MB / 0.8262 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.0001365/0.2704, allocations: 139.7 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.142e-05/0.2704, allocations: 12.22 kB / 1.071 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.046e-05/0.2704, allocations: 16.25 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.2704, allocations: 3.984 kB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.2704, allocations: 4 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2704, allocations: 0 / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.2706, allocations: 201.7 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.2706, allocations: 3.938 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.102e-05/0.2707, allocations: 4 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2707, allocations: 0 / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.2707, allocations: 3.984 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.2707, allocations: 4 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.2707, allocations: 7.938 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.2708, allocations: 117.7 kB / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.728e-05/0.2709, allocations: 85.02 kB / 1.071 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.2709, allocations: 0 / 1.071 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.237e-05/0.2709, allocations: 4 kB / 1.071 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.174e-05/0.271, allocations: 3.984 kB / 1.071 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.435e-06/0.271, allocations: 8 kB / 1.071 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.45e-05/0.2711, allocations: 121.2 kB / 1.071 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2711, allocations: 0 / 1.071 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002397/0.2713, allocations: 35.94 kB / 1.071 GB, free: 6.406 MB / 0.8262 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.0004855/0.2718, allocations: 0.6677 MB / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003366/0.2722, allocations: 238.6 kB / 1.072 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.2722, allocations: 4 kB / 1.072 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.857e-05/0.2722, allocations: 19.94 kB / 1.072 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.2725, allocations: 24.05 kB / 1.072 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00217/0.2746, allocations: 1.93 MB / 1.074 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.275, allocations: 0.7041 MB / 1.075 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.745e-05/0.275, allocations: 12.88 kB / 1.075 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.243e-05/0.2751, allocations: 39.42 kB / 1.075 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2751, allocations: 0 / 1.075 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.412/1.687, allocations: 3.399 MB / 1.078 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/15.01, allocations: 7.906 kB / 1.078 GB, free: 15.28 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches