Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.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.BooleanVectorReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",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.009909/0.009909, allocations: 96.84 kB / 15.73 MB, free: 6.055 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.002293/0.002293, allocations: 192.8 kB / 16.67 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.572/2.572, allocations: 461.9 MB / 0.7348 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 71.84 kB / 1.054 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8186/0.8198, allocations: 157.4 MB / 1.207 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001947/0.8218, allocations: 0.627 MB / 1.208 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001477/0.8233, allocations: 1.112 MB / 1.209 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.453e-05/0.8234, allocations: 7.938 kB / 1.209 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.8236, allocations: 0 / 1.209 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.659e-05/0.8237, allocations: 15.91 kB / 1.209 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004848/0.8242, allocations: 123.2 kB / 1.209 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002814/0.8245, allocations: 203.6 kB / 1.209 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.8246, allocations: 15.98 kB / 1.209 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.8247, allocations: 83.88 kB / 1.209 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.8249, allocations: 59.86 kB / 1.209 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.122e-05/0.825, allocations: 19.98 kB / 1.209 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.329e-05/0.8251, allocations: 31.98 kB / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.062e-05/0.8251, allocations: 23.91 kB / 1.21 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.8252, allocations: 67.83 kB / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002577/0.8255, allocations: 201.7 kB / 1.21 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.8255, allocations: 0 / 1.21 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.537e-06/0.8255, allocations: 0 / 1.21 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.8256, allocations: 3.938 kB / 1.21 GB, free: 10.94 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006615/0.8262, allocations: 462.6 kB / 1.21 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.8263, allocations: 12.03 kB / 1.21 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.407e-05/0.8263, allocations: 34.75 kB / 1.21 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.344e-05/0.8264, allocations: 12.84 kB / 1.21 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003137/0.8267, allocations: 212.3 kB / 1.21 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.8267, allocations: 8.359 kB / 1.21 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.756e-05/0.8268, allocations: 16.38 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001897/0.827, allocations: 95.86 kB / 1.211 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.827, allocations: 7.938 kB / 1.211 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.827, allocations: 0 / 1.211 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.827, allocations: 4 kB / 1.211 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.391e-05/0.8271, allocations: 39.97 kB / 1.211 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006489/0.8278, allocations: 0.4889 MB / 1.211 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.8279, allocations: 61.12 kB / 1.211 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.927e-05/0.8279, allocations: 25.77 kB / 1.211 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 8.967e-06/0.8279, allocations: 0 / 1.211 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002263/0.8282, allocations: 113 kB / 1.211 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 1.933e-06/0.8282, allocations: 4 kB / 1.211 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0003124/0.8285, allocations: 133.5 kB / 1.211 GB, free: 9.008 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.551e-05/0.8286, allocations: 81.11 kB / 1.212 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.8287, allocations: 145.6 kB / 1.212 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.237e-05/0.8287, allocations: 33.7 kB / 1.212 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.793e-05/0.8288, allocations: 96.05 kB / 1.212 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.759e-05/0.8289, allocations: 11.8 kB / 1.212 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.829, allocations: 61.67 kB / 1.212 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.8291, allocations: 318.8 kB / 1.212 GB, free: 8.223 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.8293, allocations: 123.9 kB / 1.212 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/0.8296, allocations: 161 kB / 1.212 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002749/0.8298, allocations: 228.7 kB / 1.213 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.8298, allocations: 0 / 1.213 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005642/0.8304, allocations: 380.6 kB / 1.213 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.14e-05/0.8305, allocations: 65.73 kB / 1.213 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.8305, allocations: 0 / 1.213 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.8305, allocations: 4 kB / 1.213 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.602e-05/0.8306, allocations: 8.188 kB / 1.213 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.8306, allocations: 4 kB / 1.213 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003861/0.831, allocations: 71.72 kB / 1.213 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.317e-05/0.831, allocations: 12 kB / 1.213 GB, free: 7.109 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 (booPul[1].y,$PRE.booPul[1].y,$whenCondition3,$whenCondition4,booPul[2].y,$PRE.booPul[2].y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * 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.0001414/0.8312, allocations: 144.3 kB / 1.213 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.133e-05/0.8312, allocations: 11.91 kB / 1.213 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.314e-05/0.8312, allocations: 7.906 kB / 1.213 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.8312, allocations: 4 kB / 1.213 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.8312, allocations: 0 / 1.213 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.8312, allocations: 3.938 kB / 1.213 GB, free: 6.922 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/0.8314, allocations: 185.6 kB / 1.214 GB, free: 6.691 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.8315, allocations: 0 / 1.214 GB, free: 6.691 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.037e-06/0.8315, allocations: 0 / 1.214 GB, free: 6.691 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.8315, allocations: 3.984 kB / 1.214 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.8315, allocations: 4 kB / 1.214 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.8315, allocations: 0 / 1.214 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.8315, allocations: 0 / 1.214 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003247/0.8318, allocations: 145.7 kB / 1.214 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.309e-05/0.8319, allocations: 81.11 kB / 1.214 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.8319, allocations: 3.938 kB / 1.214 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.987e-05/0.8319, allocations: 0 / 1.214 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/0.832, allocations: 15.92 kB / 1.214 GB, free: 6.402 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.832, allocations: 4 kB / 1.214 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.31e-05/0.8321, allocations: 99.27 kB / 1.214 GB, free: 6.301 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2e-07/0.8321, allocations: 0 / 1.214 GB, free: 6.301 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002621/0.8324, allocations: 39.91 kB / 1.214 GB, free: 6.262 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[1].y,$whenCondition1,$whenCondition2,booPul[2].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.0005332/0.8329, allocations: 0.6679 MB / 1.215 GB, free: 5.562 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004493/0.8334, allocations: 326.6 kB / 1.215 GB, free: 5.219 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.8334, allocations: 0 / 1.215 GB, free: 5.219 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.151e-05/0.8334, allocations: 31.98 kB / 1.215 GB, free: 5.188 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002537/0.8337, allocations: 25.97 kB / 1.215 GB, free: 5.164 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002721/0.8364, allocations: 2.171 MB / 1.217 GB, free: 2.859 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.8367, allocations: 0.708 MB / 1.218 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.307e-05/0.8368, allocations: 7.938 kB / 1.218 GB, free: 2.117 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.569e-05/0.8368, allocations: 23.42 kB / 1.218 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of SimCode: time 2.294e-06/0.8368, allocations: 0 / 1.218 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02238/0.8592, allocations: 3.549 MB / 1.221 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.801/8.66, allocations: 3.375 kB / 1.221 GB, free: 14.71 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches