Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.BooleanScalarReplicator,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",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.0126/0.0126, allocations: 99.52 kB / 15.73 MB, free: 6.043 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.001688/0.001688, allocations: 200.8 kB / 16.68 MB, free: 5.965 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.509/1.509, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.88/2.88, allocations: 469.8 MB / 0.7425 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001963, allocations: 67.89 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.3539, allocations: 159.1 MB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.002157/0.3561, allocations: 0.6199 MB / 1.221 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00168/0.3578, allocations: 1.121 MB / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.705e-05/0.3579, allocations: 4 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001056/0.3581, allocations: 3.938 kB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.013e-05/0.3581, allocations: 7.984 kB / 1.222 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005478/0.3586, allocations: 119.7 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.3588, allocations: 95.77 kB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.434e-05/0.3589, allocations: 11.98 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.551e-05/0.359, allocations: 31.97 kB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/0.3591, allocations: 35.89 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.408e-05/0.3592, allocations: 4 kB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.223e-05/0.3592, allocations: 23.98 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.363e-05/0.3593, allocations: 11.98 kB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.893e-05/0.3594, allocations: 35.84 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.3596, allocations: 87.72 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3596, allocations: 4 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3596, allocations: 0 / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.491e-06/0.3596, allocations: 0 / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005721/0.3602, allocations: 381 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/0.3603, allocations: 12.03 kB / 1.223 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.444e-05/0.3603, allocations: 38.67 kB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.509e-05/0.3604, allocations: 4.938 kB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.3606, allocations: 180.4 kB / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.3606, allocations: 384 / 1.223 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.3607, allocations: 16.36 kB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.3608, allocations: 46.25 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.3608, allocations: 3.938 kB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.3608, allocations: 4 kB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3608, allocations: 0 / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.24e-05/0.3609, allocations: 8 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004228/0.3613, allocations: 312.7 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.143e-05/0.3614, allocations: 22.56 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.932e-05/0.3614, allocations: 12.92 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.221e-06/0.3614, allocations: 0 / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001217/0.3615, allocations: 67.27 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.3615, allocations: 0 / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0001836/0.3617, allocations: 57.64 kB / 1.223 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.3618, allocations: 51.41 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.496e-05/0.3619, allocations: 113.8 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.3619, allocations: 29.7 kB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.371e-05/0.362, allocations: 100 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.005e-06/0.362, allocations: 0 / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.516e-05/0.3621, allocations: 33.69 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.3622, allocations: 314.8 kB / 1.224 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.866e-05/0.3623, allocations: 35.92 kB / 1.224 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.3624, allocations: 46.56 kB / 1.224 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001218/0.3625, allocations: 80.27 kB / 1.224 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3625, allocations: 0 / 1.224 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002491/0.3628, allocations: 143.2 kB / 1.224 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.195e-05/0.3628, allocations: 41.69 kB / 1.224 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.3629, allocations: 0 / 1.224 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.3629, allocations: 4 kB / 1.224 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.659e-05/0.3629, allocations: 8.031 kB / 1.224 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.3629, allocations: 0 / 1.224 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.3631, allocations: 23.97 kB / 1.224 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.3632, allocations: 7.984 kB / 1.224 GB, free: 9.656 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001051/0.3633, allocations: 121.8 kB / 1.225 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.847e-06/0.3633, allocations: 240 / 1.225 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.722e-05/0.3633, allocations: 7.891 kB / 1.225 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3633, allocations: 8 kB / 1.225 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.3633, allocations: 0 / 1.225 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.3633, allocations: 0 / 1.225 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.3635, allocations: 169.9 kB / 1.225 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3635, allocations: 0 / 1.225 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.023e-06/0.3635, allocations: 4 kB / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.3635, allocations: 0 / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.3635, allocations: 0 / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3635, allocations: 0 / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.3635, allocations: 4 kB / 1.225 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/0.3637, allocations: 92.94 kB / 1.225 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.364e-05/0.3637, allocations: 81.05 kB / 1.225 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.157e-05/0.3637, allocations: 0 / 1.225 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.004e-05/0.3638, allocations: 4 kB / 1.225 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.754e-05/0.3638, allocations: 3.984 kB / 1.225 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.3638, allocations: 0 / 1.225 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.764e-05/0.3638, allocations: 87.28 kB / 1.225 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3639, allocations: 0 / 1.225 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002093/0.3641, allocations: 15.94 kB / 1.225 GB, free: 8.965 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004587/0.3645, allocations: 0.6324 MB / 1.226 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002147/0.3648, allocations: 119.4 kB / 1.226 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3648, allocations: 3.938 kB / 1.226 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.486e-05/0.3648, allocations: 19.92 kB / 1.226 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001958/0.365, allocations: 8.188 kB / 1.226 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.3665, allocations: 1.373 MB / 1.227 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.3668, allocations: 0.6807 MB / 1.228 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.107e-05/0.3668, allocations: 0 / 1.228 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.684e-05/0.3669, allocations: 23.42 kB / 1.228 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of SimCode: time 2.1e-07/0.3669, allocations: 0 / 1.228 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02296/0.3899, allocations: 2.007 MB / 1.23 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.301/8.69, allocations: 1.5 kB / 1.23 GB, free: 4.09 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches