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.001189/0.001188, allocations: 108 kB / 15.61 MB, free: 152 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.001457/0.001457, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.49/1.49, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.901/2.901, allocations: 469.4 MB / 0.742 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 68.89 kB / 0.9083 GB, free: 34.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3345, allocations: 159.1 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.002533/0.3371, allocations: 0.7153 MB / 1.064 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001783/0.3389, allocations: 1.238 MB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.932e-05/0.339, allocations: 3.938 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001122/0.3392, allocations: 19.86 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.088e-05/0.3392, allocations: 11.86 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000815/0.3401, allocations: 238.6 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003553/0.3404, allocations: 255.6 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001651/0.3406, allocations: 39.97 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001938/0.3408, allocations: 95.81 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002967/0.3411, allocations: 99.75 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.571e-05/0.3412, allocations: 16 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.3413, allocations: 31.98 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.05e-05/0.3414, allocations: 39.92 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.3415, allocations: 83.62 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003061/0.3418, allocations: 219.6 kB / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3418, allocations: 0 / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3419, allocations: 0 / 1.067 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.3419, allocations: 3.938 kB / 1.067 GB, free: 11.4 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.0006665/0.3425, allocations: 0.4922 MB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.3426, allocations: 8.031 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.798e-05/0.3427, allocations: 42.73 kB / 1.067 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.821e-05/0.3427, allocations: 20.75 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006174/0.3434, allocations: 258.7 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.3434, allocations: 12.38 kB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.97e-05/0.3434, allocations: 16.38 kB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.3437, allocations: 125.3 kB / 1.068 GB, free: 10.31 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.3437, allocations: 4 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.3437, allocations: 11.98 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.3437, allocations: 0 / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.481e-05/0.3438, allocations: 51.91 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006986/0.3445, allocations: 0.6611 MB / 1.068 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.698e-05/0.3446, allocations: 41.09 kB / 1.068 GB, free: 9.461 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.529e-05/0.3446, allocations: 17.83 kB / 1.068 GB, free: 9.438 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.622e-06/0.3446, allocations: 3.938 kB / 1.068 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002277/0.3449, allocations: 96.94 kB / 1.068 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.733e-06/0.3449, allocations: 0 / 1.068 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0002564/0.3451, allocations: 101.8 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.53e-05/0.3452, allocations: 89.09 kB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.3454, allocations: 169.2 kB / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.42e-05/0.3454, allocations: 33.7 kB / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.056e-05/0.3455, allocations: 115.9 kB / 1.069 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.708e-05/0.3455, allocations: 19.8 kB / 1.069 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.3457, allocations: 57.69 kB / 1.069 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.3458, allocations: 322.8 kB / 1.069 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.3459, allocations: 47.97 kB / 1.069 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.3461, allocations: 110.8 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002077/0.3463, allocations: 174.1 kB / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.3463, allocations: 3.938 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004171/0.3467, allocations: 264.7 kB / 1.07 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.599e-05/0.3468, allocations: 68.8 kB / 1.07 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.3468, allocations: 0 / 1.07 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.3468, allocations: 4 kB / 1.07 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.11e-05/0.3468, allocations: 4 kB / 1.07 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.3469, allocations: 8.172 kB / 1.07 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003256/0.3472, allocations: 63.78 kB / 1.07 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.937e-05/0.3472, allocations: 15.98 kB / 1.07 GB, free: 7.535 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.0001155/0.3473, allocations: 133.8 kB / 1.07 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.004e-05/0.3474, allocations: 11.94 kB / 1.07 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.966e-05/0.3474, allocations: 24.17 kB / 1.07 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3474, allocations: 0 / 1.07 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.3474, allocations: 8 kB / 1.07 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3474, allocations: 0 / 1.07 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001578/0.3476, allocations: 205.5 kB / 1.07 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3476, allocations: 0 / 1.07 GB, free: 7.098 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.318e-06/0.3476, allocations: 4 kB / 1.07 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.3476, allocations: 0 / 1.07 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.3477, allocations: 7.938 kB / 1.07 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.3477, allocations: 4 kB / 1.07 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3477, allocations: 0 / 1.07 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/0.3478, allocations: 117.7 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.237e-05/0.3479, allocations: 85.02 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.3479, allocations: 3.984 kB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.597e-05/0.3479, allocations: 8 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.884e-05/0.348, allocations: 0 / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.348, allocations: 7.984 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.631e-05/0.3481, allocations: 124.1 kB / 1.071 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3481, allocations: 0 / 1.071 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002656/0.3484, allocations: 31.94 kB / 1.071 GB, free: 6.672 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.0004774/0.3488, allocations: 0.6565 MB / 1.071 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003455/0.3492, allocations: 242.6 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3492, allocations: 0 / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.152e-05/0.3493, allocations: 32.02 kB / 1.072 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.3495, allocations: 19.92 kB / 1.072 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002274/0.3518, allocations: 1.92 MB / 1.074 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.3521, allocations: 0.7119 MB / 1.074 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.377e-05/0.3522, allocations: 12.88 kB / 1.074 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.013e-05/0.3523, allocations: 35.7 kB / 1.074 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of SimCode: time 1.91e-07/0.3523, allocations: 0 / 1.074 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02247/0.3747, allocations: 3.418 MB / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.607/7.982, allocations: 8.562 kB / 1.078 GB, free: 15.54 MB / 0.8419 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 & python3 -m fmpy simulate --output-file Buildings_latest_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_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.csv","/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