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.006163/0.006163, allocations: 104.6 kB / 15.74 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.001342/0.001342, allocations: 196 kB / 16.68 MB, free: 5.957 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.367/1.367, 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 11.0.1-master/package.mo): time 2.663/2.663, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 67.89 kB / 1.054 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.951/0.9524, allocations: 157.4 MB / 1.207 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002425/0.9549, allocations: 0.6971 MB / 1.208 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002064/0.957, allocations: 1.248 MB / 1.209 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.9571, allocations: 0 / 1.209 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001401/0.9573, allocations: 15.86 kB / 1.209 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.866e-05/0.9574, allocations: 15.86 kB / 1.209 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.9584, allocations: 242.7 kB / 1.209 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004218/0.9589, allocations: 259.5 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001612/0.959, allocations: 42.17 kB / 1.21 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001914/0.9592, allocations: 103.8 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001864/0.9594, allocations: 87.69 kB / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.662e-05/0.9595, allocations: 20 kB / 1.21 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.9596, allocations: 35.98 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.499e-05/0.9597, allocations: 39.91 kB / 1.21 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.9598, allocations: 87.62 kB / 1.21 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003267/0.9602, allocations: 231.2 kB / 1.21 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.9602, allocations: 4 kB / 1.21 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.083e-06/0.9602, allocations: 0 / 1.21 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.9602, allocations: 4 kB / 1.21 GB, free: 10.43 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.000637/0.9609, allocations: 0.5023 MB / 1.211 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.056e-05/0.9609, allocations: 8.031 kB / 1.211 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.76e-05/0.961, allocations: 42.73 kB / 1.211 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.617e-05/0.9611, allocations: 20.75 kB / 1.211 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006593/0.9617, allocations: 264.1 kB / 1.211 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.731e-05/0.9618, allocations: 12.38 kB / 1.211 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.808e-05/0.9618, allocations: 20.36 kB / 1.211 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002232/0.9621, allocations: 126.6 kB / 1.211 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.9621, allocations: 0 / 1.211 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.9621, allocations: 4 kB / 1.211 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.9621, allocations: 4 kB / 1.211 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.131e-05/0.9622, allocations: 51.91 kB / 1.211 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007409/0.963, allocations: 0.6689 MB / 1.212 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.895e-05/0.963, allocations: 41.16 kB / 1.212 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.154e-05/0.9631, allocations: 17.83 kB / 1.212 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.27e-05/0.9631, allocations: 7.875 kB / 1.212 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001667/0.9633, allocations: 89 kB / 1.212 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.9633, allocations: 7.938 kB / 1.212 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.000261/0.9635, allocations: 101.5 kB / 1.212 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.9636, allocations: 81.11 kB / 1.212 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.9638, allocations: 171 kB / 1.212 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.9638, allocations: 29.7 kB / 1.213 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.139e-05/0.9639, allocations: 123.8 kB / 1.213 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.483e-05/0.9639, allocations: 11.84 kB / 1.213 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.964, allocations: 65.67 kB / 1.213 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.9641, allocations: 322.8 kB / 1.213 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.9643, allocations: 55.91 kB / 1.213 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/0.9644, allocations: 120.5 kB / 1.213 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002085/0.9646, allocations: 178.2 kB / 1.213 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.9647, allocations: 0 / 1.213 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004145/0.9651, allocations: 265.2 kB / 1.214 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.147e-05/0.9651, allocations: 67.39 kB / 1.214 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.9652, allocations: 4 kB / 1.214 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.9652, allocations: 4 kB / 1.214 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.097e-05/0.9652, allocations: 7.922 kB / 1.214 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.9652, allocations: 4 kB / 1.214 GB, free: 6.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004062/0.9656, allocations: 76.02 kB / 1.214 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.131e-05/0.9657, allocations: 15.98 kB / 1.214 GB, free: 6.5 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.00012/0.9658, allocations: 141.3 kB / 1.214 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.099e-05/0.9658, allocations: 11.84 kB / 1.214 GB, free: 6.344 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.826e-05/0.9659, allocations: 16.23 kB / 1.214 GB, free: 6.32 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.9659, allocations: 0 / 1.214 GB, free: 6.32 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.9659, allocations: 0 / 1.214 GB, free: 6.32 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.9659, allocations: 4 kB / 1.214 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.9661, allocations: 205.6 kB / 1.214 GB, free: 6.066 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.9661, allocations: 0 / 1.214 GB, free: 6.066 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.089e-05/0.9661, allocations: 8 kB / 1.214 GB, free: 6.059 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.9661, allocations: 0 / 1.214 GB, free: 6.059 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.9661, allocations: 0 / 1.214 GB, free: 6.059 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.9661, allocations: 0 / 1.214 GB, free: 6.059 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.9661, allocations: 4 kB / 1.214 GB, free: 6.055 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001414/0.9663, allocations: 117.7 kB / 1.214 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.72e-05/0.9663, allocations: 92.95 kB / 1.214 GB, free: 5.809 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.9663, allocations: 3.938 kB / 1.214 GB, free: 5.805 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.431e-05/0.9664, allocations: 7.984 kB / 1.214 GB, free: 5.797 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.429e-05/0.9664, allocations: 4 kB / 1.214 GB, free: 5.793 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.9664, allocations: 4 kB / 1.214 GB, free: 5.789 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.667e-05/0.9665, allocations: 115.2 kB / 1.214 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9665, allocations: 0 / 1.214 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002786/0.9668, allocations: 39.89 kB / 1.215 GB, free: 5.637 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.0004949/0.9673, allocations: 0.6678 MB / 1.215 GB, free: 4.938 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000351/0.9676, allocations: 226.7 kB / 1.215 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.9677, allocations: 0 / 1.215 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.338e-05/0.9677, allocations: 32.42 kB / 1.215 GB, free: 4.66 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.968, allocations: 24.02 kB / 1.215 GB, free: 4.637 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002128/0.9701, allocations: 1.919 MB / 1.217 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.9704, allocations: 0.7197 MB / 1.218 GB, free: 1.824 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.2e-05/0.9704, allocations: 8.891 kB / 1.218 GB, free: 1.816 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.601e-05/0.9705, allocations: 35.42 kB / 1.218 GB, free: 1.781 MB / 0.9356 GB Notification: Performance of SimCode: time 4.81e-07/0.9705, allocations: 4 kB / 1.218 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02104/0.9916, allocations: 3.671 MB / 1.222 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.428/8.42, allocations: 11.73 kB / 1.222 GB, free: 14.26 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