Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="Buildings_10_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.00117/0.00117, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001252/0.001252, allocations: 195 kB / 16.14 MB, free: 6.711 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.284/1.284, allocations: 222.9 MB / 239.8 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.401/2.401, allocations: 437 MB / 0.71 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 63.91 kB / 0.8687 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5584/0.5596, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001554/0.5612, allocations: 0.6793 MB / 1.017 GB, free: 2.113 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001138/0.5624, allocations: 1.124 MB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.422e-05/0.5624, allocations: 0 / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 6.454e-05/0.5625, allocations: 0 / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 1.916e-05/0.5625, allocations: 7.922 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003282/0.5628, allocations: 121 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.029e-05/0.5629, allocations: 79.83 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 6.691e-05/0.563, allocations: 4 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.217e-05/0.563, allocations: 35.95 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.262e-05/0.5631, allocations: 23.91 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.5631, allocations: 4 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 5.455e-05/0.5632, allocations: 15.98 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.365e-05/0.5632, allocations: 4 kB / 1.019 GB, free: 0.6875 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.192e-05/0.5633, allocations: 43.83 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001247/0.5634, allocations: 89.97 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.5634, allocations: 0 / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of FrontEnd: time 5.41e-07/0.5634, allocations: 0 / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 2.665e-06/0.5635, allocations: 4 kB / 1.019 GB, free: 0.5547 MB / 0.7637 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.0003355/0.5638, allocations: 381 kB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.5638, allocations: 12.02 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.531e-05/0.5639, allocations: 34.75 kB / 1.019 GB, free: 72 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.008e-05/0.5639, allocations: 4.938 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.5641, allocations: 180.4 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.5641, allocations: 8.359 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.5641, allocations: 4.375 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.993e-05/0.5642, allocations: 46.25 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.5642, allocations: 3.938 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.961e-06/0.5642, allocations: 0 / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.5642, allocations: 4 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.754e-05/0.5642, allocations: 11.94 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002928/0.5645, allocations: 308.7 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.494e-05/0.5646, allocations: 22.58 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.427e-05/0.5646, allocations: 8.797 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.827e-06/0.5646, allocations: 0 / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001055/0.5647, allocations: 59.45 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.5647, allocations: 0 / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.000137/0.5649, allocations: 65.81 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.5649, allocations: 55.41 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.608e-05/0.565, allocations: 113.7 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.565, allocations: 29.64 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.719e-05/0.5651, allocations: 88.14 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.02e-05/0.5651, allocations: 7.891 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.889e-05/0.5651, allocations: 29.7 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.461e-05/0.5652, allocations: 326.8 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.674e-05/0.5653, allocations: 27.98 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.718e-05/0.5654, allocations: 50.55 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.178e-05/0.5655, allocations: 76.22 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.5655, allocations: 3.938 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002235/0.5657, allocations: 151.7 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.5658, allocations: 29.7 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.5658, allocations: 4 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.824e-06/0.5658, allocations: 0 / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.175e-05/0.5658, allocations: 4 kB / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.346e-06/0.5658, allocations: 0 / 1.021 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001977/0.566, allocations: 43.8 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.566, allocations: 4 kB / 1.021 GB, free: 14.12 MB / 0.7794 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 7.54e-05/0.5661, allocations: 117.8 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.212e-05/0.5661, allocations: 8 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.889e-05/0.5661, allocations: 7.891 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.5662, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.5662, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.5662, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001036/0.5663, allocations: 165.6 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.5663, allocations: 0 / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.929e-06/0.5663, allocations: 0 / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.5663, allocations: 3.984 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.5663, allocations: 8 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.5663, allocations: 3.938 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.5663, allocations: 0 / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.43e-05/0.5664, allocations: 77.06 kB / 1.021 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.472e-05/0.5664, allocations: 85.02 kB / 1.021 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.357e-06/0.5665, allocations: 0 / 1.021 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.668e-05/0.5665, allocations: 7.984 kB / 1.021 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.883e-05/0.5665, allocations: 0 / 1.021 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.5665, allocations: 8 kB / 1.021 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.231e-05/0.5666, allocations: 83.22 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5666, allocations: 0 / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001978/0.5668, allocations: 23.98 kB / 1.022 GB, free: 13.43 MB / 0.7794 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.0003415/0.5671, allocations: 0.6168 MB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001637/0.5673, allocations: 123.4 kB / 1.022 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.5673, allocations: 0 / 1.022 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.635e-05/0.5673, allocations: 15.92 kB / 1.022 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001682/0.5675, allocations: 14.19 kB / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.5687, allocations: 1.379 MB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001994/0.5689, allocations: 0.6809 MB / 1.024 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.484e-05/0.5689, allocations: 0 / 1.024 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.493e-05/0.5689, allocations: 19.42 kB / 1.024 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.5689, allocations: 0 / 1.024 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009729/0.5787, allocations: 1.826 MB / 1.026 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002699/0.579, allocations: 226 kB / 1.026 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.588/2.167, allocations: 0 / 1.026 GB, free: 8.492 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches