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.001534/0.001534, allocations: 108 kB / 15.6 MB, free: 132 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.001766/0.001766, allocations: 195.3 kB / 16.53 MB, free: 6.391 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.42/1.42, allocations: 222.9 MB / 240.2 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.513/2.513, allocations: 390.2 MB / 0.6647 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 71.89 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6981/0.6995, allocations: 140.4 MB / 0.9497 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.00181/0.7014, allocations: 0.702 MB / 0.9504 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001477/0.7029, allocations: 1.238 MB / 0.9516 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.941e-05/0.7029, allocations: 9.188 kB / 0.9516 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000117/0.7031, allocations: 13.38 kB / 0.9516 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.488e-05/0.7031, allocations: 18.56 kB / 0.9517 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006776/0.7038, allocations: 234.2 kB / 0.9519 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002785/0.7041, allocations: 256.7 kB / 0.9521 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.7042, allocations: 32.33 kB / 0.9522 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.7044, allocations: 102.8 kB / 0.9523 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002356/0.7046, allocations: 95.98 kB / 0.9524 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.424e-05/0.7047, allocations: 17.66 kB / 0.9524 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.23e-05/0.7048, allocations: 37.14 kB / 0.9524 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.544e-05/0.7048, allocations: 32.97 kB / 0.9524 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.7049, allocations: 89.09 kB / 0.9525 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002164/0.7052, allocations: 214 kB / 0.9527 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.7052, allocations: 0 / 0.9527 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.804e-06/0.7052, allocations: 0 / 0.9527 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.7052, allocations: 1.438 kB / 0.9527 GB, free: 6.91 MB / 0.7169 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.0004508/0.7056, allocations: 499.8 kB / 0.9532 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.7057, allocations: 12.44 kB / 0.9532 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.148e-05/0.7057, allocations: 46.31 kB / 0.9533 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.32e-05/0.7058, allocations: 16.69 kB / 0.9533 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000545/0.7063, allocations: 256.9 kB / 0.9535 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.7064, allocations: 14.61 kB / 0.9535 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.7064, allocations: 14.19 kB / 0.9536 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.7066, allocations: 137.8 kB / 0.9537 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.7066, allocations: 3.938 kB / 0.9537 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.7066, allocations: 5.25 kB / 0.9537 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.7066, allocations: 3.469 kB / 0.9537 GB, free: 5.965 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.744e-05/0.7067, allocations: 48.94 kB / 0.9537 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004928/0.7072, allocations: 0.6676 MB / 0.9544 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.211e-05/0.7073, allocations: 45.98 kB / 0.9544 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.17e-05/0.7073, allocations: 18.66 kB / 0.9545 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.7073, allocations: 7.938 kB / 0.9545 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001823/0.7075, allocations: 92.41 kB / 0.9546 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.7075, allocations: 0 / 0.9546 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.000246/0.7078, allocations: 101.5 kB / 0.9546 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.7078, allocations: 78.61 kB / 0.9547 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.708, allocations: 173.7 kB / 0.9549 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.604e-05/0.708, allocations: 32.98 kB / 0.9549 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.82e-05/0.7081, allocations: 122.5 kB / 0.955 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.288e-05/0.7082, allocations: 10.97 kB / 0.955 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.7083, allocations: 55.61 kB / 0.9551 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.965e-05/0.7083, allocations: 326.7 kB / 0.9554 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.7085, allocations: 47.75 kB / 0.9555 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.7086, allocations: 109.3 kB / 0.9556 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.7088, allocations: 178 kB / 0.9557 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.7088, allocations: 1.375 kB / 0.9557 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000385/0.7092, allocations: 270.6 kB / 0.956 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.048e-05/0.7092, allocations: 64.81 kB / 0.9561 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.7092, allocations: 2.156 kB / 0.9561 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.7093, allocations: 6.578 kB / 0.9561 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.869e-05/0.7093, allocations: 7.125 kB / 0.9561 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.7093, allocations: 7.062 kB / 0.9561 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003163/0.7096, allocations: 51.69 kB / 0.9561 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.94e-05/0.7097, allocations: 17.42 kB / 0.9561 GB, free: 3.715 MB / 0.7169 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 9.912e-05/0.7098, allocations: 134.8 kB / 0.9563 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.914e-05/0.7098, allocations: 20.12 kB / 0.9563 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.042e-05/0.7098, allocations: 12.59 kB / 0.9563 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.7098, allocations: 0.9688 kB / 0.9563 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.7098, allocations: 1.25 kB / 0.9563 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.7098, allocations: 0 / 0.9563 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.71, allocations: 211.8 kB / 0.9565 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.71, allocations: 3.938 kB / 0.9565 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.745e-06/0.71, allocations: 2.625 kB / 0.9565 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.71, allocations: 3.984 kB / 0.9565 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.71, allocations: 1.406 kB / 0.9565 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.71, allocations: 9 kB / 0.9565 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.71, allocations: 1.594 kB / 0.9565 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.7102, allocations: 117.2 kB / 0.9566 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.337e-05/0.7102, allocations: 84.45 kB / 0.9567 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.7102, allocations: 0 / 0.9567 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.242e-05/0.7102, allocations: 4.062 kB / 0.9567 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.846e-05/0.7103, allocations: 14.3 kB / 0.9567 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.7103, allocations: 3.656 kB / 0.9567 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.316e-05/0.7103, allocations: 114.6 kB / 0.9568 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7103, allocations: 3.844 kB / 0.9569 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002478/0.7106, allocations: 37.81 kB / 0.9569 GB, free: 3 MB / 0.7169 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.0003187/0.7109, allocations: 0.6651 MB / 0.9575 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003052/0.7112, allocations: 237.4 kB / 0.9578 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7112, allocations: 0 / 0.9578 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.908e-05/0.7113, allocations: 18.38 kB / 0.9578 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.7115, allocations: 23.8 kB / 0.9578 GB, free: 2.156 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.7133, allocations: 1.914 MB / 0.9597 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001779/0.7135, allocations: 0.7044 MB / 0.9604 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.098e-05/0.7135, allocations: 11.62 kB / 0.9604 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.295e-05/0.7136, allocations: 45.7 kB / 0.9604 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.7136, allocations: 0 / 0.9604 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02153/0.7351, allocations: 3.413 MB / 0.9637 GB, free: 14 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.594/8.329, allocations: 5.484 kB / 0.9638 GB, free: 14 MB / 0.7325 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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