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.01177/0.01177, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001929/0.001929, allocations: 191.3 kB / 16.67 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.139/2.139, 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 9.1.3-maint.9.1.x/package.mo): time 3.53/3.53, allocations: 390.3 MB / 0.6648 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001626, allocations: 67.91 kB / 0.9504 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.486/1.488, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002485/1.491, allocations: 0.7148 MB / 1.088 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0021/1.493, allocations: 1.243 MB / 1.089 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.208e-05/1.493, allocations: 1.125 kB / 1.089 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001446/1.493, allocations: 11.52 kB / 1.089 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.197e-05/1.493, allocations: 12.55 kB / 1.089 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009062/1.494, allocations: 247.7 kB / 1.09 GB, free: 3.77 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004898/1.494, allocations: 258.9 kB / 1.09 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001872/1.495, allocations: 39.09 kB / 1.09 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000233/1.495, allocations: 101.4 kB / 1.09 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002461/1.495, allocations: 80.27 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.197e-05/1.495, allocations: 18.59 kB / 1.09 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/1.495, allocations: 50.67 kB / 1.09 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.939e-05/1.496, allocations: 35.53 kB / 1.09 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001591/1.496, allocations: 89.73 kB / 1.09 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004739/1.496, allocations: 228.2 kB / 1.091 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.268e-06/1.496, allocations: 1.922 kB / 1.091 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.004e-06/1.496, allocations: 0 / 1.091 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.993e-06/1.496, allocations: 0 / 1.091 GB, free: 3.422 MB / 0.8575 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.0007404/1.497, allocations: 0.4988 MB / 1.091 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.226e-05/1.497, allocations: 9.562 kB / 1.091 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.079e-05/1.497, allocations: 45.2 kB / 1.091 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.815e-05/1.497, allocations: 23.98 kB / 1.091 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006434/1.498, allocations: 255.2 kB / 1.091 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.877e-05/1.498, allocations: 12.59 kB / 1.091 GB, free: 2.652 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.8e-05/1.498, allocations: 18.66 kB / 1.091 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002625/1.498, allocations: 132.3 kB / 1.091 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/1.498, allocations: 0.8125 kB / 1.091 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/1.498, allocations: 2.297 kB / 1.091 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/1.498, allocations: 6.25 kB / 1.091 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/1.498, allocations: 53.25 kB / 1.092 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000698/1.499, allocations: 0.6583 MB / 1.092 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.775e-05/1.499, allocations: 48 kB / 1.092 GB, free: 1.891 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.899e-05/1.499, allocations: 19.06 kB / 1.092 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/1.499, allocations: 4.688 kB / 1.092 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002274/1.499, allocations: 94.17 kB / 1.092 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/1.499, allocations: 3.938 kB / 1.092 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0003039/1.5, allocations: 107.1 kB / 1.092 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.237e-05/1.5, allocations: 79.48 kB / 1.093 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/1.5, allocations: 171.1 kB / 1.093 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/1.5, allocations: 33.8 kB / 1.093 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/1.5, allocations: 118.7 kB / 1.093 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/1.5, allocations: 19.42 kB / 1.093 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/1.5, allocations: 65.67 kB / 1.093 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.172e-05/1.5, allocations: 325.7 kB / 1.093 GB, free: 1 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/1.501, allocations: 53.2 kB / 1.093 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001753/1.501, allocations: 123.4 kB / 1.093 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002175/1.501, allocations: 169.5 kB / 1.094 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/1.501, allocations: 0.7812 kB / 1.094 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000572/1.502, allocations: 278.5 kB / 1.094 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.097e-05/1.502, allocations: 62.3 kB / 1.094 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/1.502, allocations: 3.578 kB / 1.094 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/1.502, allocations: 1.688 kB / 1.094 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.697e-05/1.502, allocations: 4.516 kB / 1.094 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/1.502, allocations: 11.02 kB / 1.094 GB, free: 500 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00051/1.502, allocations: 72.64 kB / 1.094 GB, free: 488 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.563e-05/1.502, allocations: 15.86 kB / 1.094 GB, free: 484 kB / 0.8575 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.0001661/1.502, allocations: 138.1 kB / 1.094 GB, free: 360 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.737e-05/1.503, allocations: 13.09 kB / 1.094 GB, free: 352 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.315e-05/1.503, allocations: 13.42 kB / 1.094 GB, free: 336 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/1.503, allocations: 2.156 kB / 1.094 GB, free: 336 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/1.503, allocations: 0.75 kB / 1.094 GB, free: 336 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/1.503, allocations: 5.5 kB / 1.094 GB, free: 332 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/1.503, allocations: 202.5 kB / 1.094 GB, free: 120 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/1.503, allocations: 0.5938 kB / 1.094 GB, free: 120 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.243e-05/1.503, allocations: 2.297 kB / 1.094 GB, free: 120 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/1.503, allocations: 4.688 kB / 1.094 GB, free: 116 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/1.503, allocations: 2.625 kB / 1.094 GB, free: 116 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/1.503, allocations: 1.406 kB / 1.094 GB, free: 116 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.503, allocations: 0.75 kB / 1.094 GB, free: 116 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001749/1.503, allocations: 122.8 kB / 1.094 GB, free: 12 kB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.578e-05/1.503, allocations: 89.11 kB / 1.095 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.422e-05/1.503, allocations: 2.453 kB / 1.095 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.366e-05/1.503, allocations: 0.5938 kB / 1.095 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/1.503, allocations: 9.312 kB / 1.095 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/1.503, allocations: 3.484 kB / 1.095 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001244/1.503, allocations: 121 kB / 1.095 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.2e-07/1.503, allocations: 0 / 1.095 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003401/1.504, allocations: 36.39 kB / 1.095 GB, free: 15.82 MB / 0.8731 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.0006721/1.504, allocations: 0.6672 MB / 1.095 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004678/1.505, allocations: 241.2 kB / 1.096 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/1.505, allocations: 4.125 kB / 1.096 GB, free: 15 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 6.335e-05/1.505, allocations: 21.34 kB / 1.096 GB, free: 15 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/1.505, allocations: 23.39 kB / 1.096 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003143/1.508, allocations: 1.915 MB / 1.098 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004198/1.509, allocations: 0.7157 MB / 1.098 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 7.411e-05/1.509, allocations: 15.41 kB / 1.098 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.272e-05/1.509, allocations: 40.92 kB / 1.098 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of SimCode: time 9.32e-07/1.509, allocations: 1.281 kB / 1.098 GB, free: 12.72 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03287/1.542, allocations: 3.609 MB / 1.102 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/13.59, allocations: 11.38 kB / 1.102 GB, free: 12.17 MB / 0.8731 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