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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.009822/0.009822, allocations: 104.5 kB / 15.74 MB, free: 5.984 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.002325/0.002325, allocations: 199.1 kB / 16.68 MB, free: 5.91 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.702/2.702, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 63.91 kB / 1.054 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8307/0.8321, allocations: 157.4 MB / 1.207 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001845/0.834, allocations: 0.7107 MB / 1.208 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001645/0.8357, allocations: 1.244 MB / 1.209 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.463e-05/0.8358, allocations: 3.938 kB / 1.209 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.8359, allocations: 15.86 kB / 1.209 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.982e-05/0.836, allocations: 11.88 kB / 1.209 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007402/0.8367, allocations: 245.5 kB / 1.209 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003157/0.8371, allocations: 255.6 kB / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.8372, allocations: 34.23 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.8374, allocations: 99.86 kB / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001692/0.8375, allocations: 91.69 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.36e-05/0.8376, allocations: 20 kB / 1.21 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.8377, allocations: 35.98 kB / 1.21 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.53e-05/0.8378, allocations: 39.91 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.8379, allocations: 87.62 kB / 1.21 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002909/0.8382, allocations: 235.2 kB / 1.21 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.8382, allocations: 0 / 1.21 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8382, allocations: 0 / 1.21 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.341e-06/0.8382, allocations: 0 / 1.21 GB, free: 10.47 MB / 0.9356 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.0006058/0.8388, allocations: 0.5061 MB / 1.211 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.8389, allocations: 12.03 kB / 1.211 GB, free: 9.895 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.734e-05/0.8389, allocations: 42.73 kB / 1.211 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.618e-05/0.839, allocations: 20.75 kB / 1.211 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005614/0.8395, allocations: 260.2 kB / 1.211 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.8396, allocations: 12.38 kB / 1.211 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.053e-05/0.8396, allocations: 16.36 kB / 1.211 GB, free: 9.504 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/0.8398, allocations: 138.5 kB / 1.211 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.8399, allocations: 0 / 1.211 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.8399, allocations: 4 kB / 1.211 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.8399, allocations: 8 kB / 1.211 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.489e-05/0.84, allocations: 47.91 kB / 1.211 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000651/0.8406, allocations: 0.6611 MB / 1.212 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.022e-05/0.8407, allocations: 41.16 kB / 1.212 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.724e-05/0.8407, allocations: 25.7 kB / 1.212 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.183e-06/0.8408, allocations: 0 / 1.212 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001913/0.841, allocations: 96.98 kB / 1.212 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 3.587e-06/0.841, allocations: 4 kB / 1.212 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0002584/0.8412, allocations: 101.8 kB / 1.212 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/0.8413, allocations: 85.03 kB / 1.212 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.8415, allocations: 171 kB / 1.212 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.8415, allocations: 33.69 kB / 1.213 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.747e-05/0.8416, allocations: 115.8 kB / 1.213 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.601e-05/0.8416, allocations: 19.83 kB / 1.213 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.8418, allocations: 61.67 kB / 1.213 GB, free: 7.738 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.8419, allocations: 326.8 kB / 1.213 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.842, allocations: 51.97 kB / 1.213 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001611/0.8422, allocations: 119.8 kB / 1.213 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002077/0.8424, allocations: 178.2 kB / 1.213 GB, free: 7.004 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.8424, allocations: 0 / 1.213 GB, free: 7.004 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004326/0.8428, allocations: 272.7 kB / 1.214 GB, free: 6.719 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.669e-05/0.8429, allocations: 67.39 kB / 1.214 GB, free: 6.641 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.8429, allocations: 4 kB / 1.214 GB, free: 6.637 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.8429, allocations: 0 / 1.214 GB, free: 6.637 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.969e-05/0.843, allocations: 4 kB / 1.214 GB, free: 6.633 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.843, allocations: 7.984 kB / 1.214 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004005/0.8434, allocations: 72.08 kB / 1.214 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.182e-05/0.8434, allocations: 11.98 kB / 1.214 GB, free: 6.543 MB / 0.9356 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.0001315/0.8436, allocations: 145.2 kB / 1.214 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.906e-05/0.8436, allocations: 11.91 kB / 1.214 GB, free: 6.383 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.761e-05/0.8436, allocations: 16.23 kB / 1.214 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.8436, allocations: 0 / 1.214 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.8437, allocations: 0 / 1.214 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.8437, allocations: 0 / 1.214 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000161/0.8438, allocations: 209.6 kB / 1.214 GB, free: 6.105 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.8438, allocations: 0 / 1.214 GB, free: 6.105 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.955e-06/0.8439, allocations: 96 / 1.214 GB, free: 6.105 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.8439, allocations: 7.938 kB / 1.214 GB, free: 6.098 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.8439, allocations: 4 kB / 1.214 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.8439, allocations: 0 / 1.214 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.8439, allocations: 0 / 1.214 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001532/0.844, allocations: 125.7 kB / 1.214 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.827e-05/0.8441, allocations: 84.95 kB / 1.214 GB, free: 5.848 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.8441, allocations: 4 kB / 1.214 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.814e-05/0.8441, allocations: 15.98 kB / 1.214 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.844e-05/0.8442, allocations: 4 kB / 1.214 GB, free: 5.824 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.8442, allocations: 4 kB / 1.214 GB, free: 5.82 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.63e-05/0.8443, allocations: 115.2 kB / 1.214 GB, free: 5.707 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8443, allocations: 0 / 1.214 GB, free: 5.707 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002786/0.8446, allocations: 39.89 kB / 1.215 GB, free: 5.668 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.0004583/0.845, allocations: 0.6639 MB / 1.215 GB, free: 4.973 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003298/0.8454, allocations: 230.7 kB / 1.215 GB, free: 4.723 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.8454, allocations: 0.5 kB / 1.215 GB, free: 4.723 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.711e-05/0.8454, allocations: 35.92 kB / 1.215 GB, free: 4.688 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.8457, allocations: 19.92 kB / 1.215 GB, free: 4.668 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002149/0.8478, allocations: 1.924 MB / 1.217 GB, free: 2.594 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/0.8481, allocations: 0.7157 MB / 1.218 GB, free: 1.852 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.19e-05/0.8482, allocations: 8.891 kB / 1.218 GB, free: 1.844 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.237e-05/0.8482, allocations: 35.42 kB / 1.218 GB, free: 1.809 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.8482, allocations: 0 / 1.218 GB, free: 1.809 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02134/0.8696, allocations: 3.602 MB / 1.222 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.613/8.482, allocations: 19.67 kB / 1.222 GB, free: 14.36 MB / 0.9512 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=50 --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