Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.BooleanVectorReplicator,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="Buildings_10_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.006865/0.006865, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001599/0.001599, allocations: 194 kB / 16.68 MB, free: 5.93 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.424/1.424, 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 10.1.1-maint.10.0.x/package.mo): time 2.443/2.443, allocations: 437.1 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 67.91 kB / 1.018 GB, free: 9.891 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8494/0.8507, allocations: 151.6 MB / 1.166 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001965/0.8527, allocations: 0.6205 MB / 1.167 GB, free: 3.141 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001638/0.8543, allocations: 1.123 MB / 1.168 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.819e-05/0.8544, allocations: 4 kB / 1.168 GB, free: 2 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001176/0.8546, allocations: 3.938 kB / 1.168 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.8547, allocations: 7.922 kB / 1.168 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000558/0.8553, allocations: 128.1 kB / 1.168 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002936/0.8556, allocations: 203.6 kB / 1.168 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.8557, allocations: 19.98 kB / 1.168 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.8558, allocations: 79.88 kB / 1.168 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.856, allocations: 63.84 kB / 1.168 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.009e-05/0.8561, allocations: 16 kB / 1.168 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.88e-05/0.8562, allocations: 31.98 kB / 1.168 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.435e-05/0.8563, allocations: 23.91 kB / 1.168 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.8564, allocations: 71.81 kB / 1.168 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002904/0.8567, allocations: 201.8 kB / 1.169 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.8567, allocations: 0 / 1.169 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.446e-06/0.8567, allocations: 0 / 1.169 GB, free: 1.172 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.694e-06/0.8567, allocations: 3.938 kB / 1.169 GB, free: 1.168 MB / 0.8887 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.0007188/0.8575, allocations: 454.6 kB / 1.169 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.571e-05/0.8575, allocations: 12.92 kB / 1.169 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.344e-05/0.8576, allocations: 34.75 kB / 1.169 GB, free: 0.6055 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.073e-05/0.8577, allocations: 16.83 kB / 1.169 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000295/0.858, allocations: 212.3 kB / 1.169 GB, free: 352 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.858, allocations: 8.375 kB / 1.169 GB, free: 344 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.589e-05/0.858, allocations: 20.36 kB / 1.169 GB, free: 324 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.8582, allocations: 99.8 kB / 1.169 GB, free: 212 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.8583, allocations: 3.938 kB / 1.17 GB, free: 208 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.8583, allocations: 0 / 1.17 GB, free: 208 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.8583, allocations: 4 kB / 1.17 GB, free: 204 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.676e-05/0.8584, allocations: 39.97 kB / 1.17 GB, free: 164 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006484/0.859, allocations: 0.4889 MB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 8.845e-05/0.8591, allocations: 57.12 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.033e-05/0.8592, allocations: 25.77 kB / 1.17 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.8592, allocations: 4 kB / 1.17 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001848/0.8594, allocations: 113 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=6): time 1.432e-06/0.8594, allocations: 0 / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6): time 0.0003187/0.8597, allocations: 129.5 kB / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.8598, allocations: 85.05 kB / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.8599, allocations: 137.8 kB / 1.171 GB, free: 15 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.86, allocations: 33.7 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.508e-05/0.8601, allocations: 104 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.555e-05/0.8601, allocations: 7.812 kB / 1.171 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.8602, allocations: 61.67 kB / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.8603, allocations: 318.8 kB / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.8605, allocations: 123.9 kB / 1.171 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000228/0.8608, allocations: 165 kB / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003024/0.8611, allocations: 216.4 kB / 1.172 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.8611, allocations: 4 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006471/0.8618, allocations: 384.7 kB / 1.172 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.915e-05/0.8618, allocations: 63.39 kB / 1.172 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.8619, allocations: 0 / 1.172 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.8619, allocations: 7.938 kB / 1.172 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.086e-05/0.8619, allocations: 8.375 kB / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.8619, allocations: 0 / 1.172 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004133/0.8623, allocations: 67.78 kB / 1.172 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-05/0.8624, allocations: 16.12 kB / 1.172 GB, free: 13.35 MB / 0.9044 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.0001408/0.8625, allocations: 137.8 kB / 1.172 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.093e-05/0.8626, allocations: 7.906 kB / 1.172 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.811e-05/0.8626, allocations: 7.891 kB / 1.172 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.8626, allocations: 4 kB / 1.172 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.8626, allocations: 0 / 1.172 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.8626, allocations: 7.875 kB / 1.172 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.8628, allocations: 189.6 kB / 1.172 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.8628, allocations: 0 / 1.172 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.987e-06/0.8629, allocations: 4 kB / 1.172 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.8629, allocations: 7.922 kB / 1.172 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.8629, allocations: 4 kB / 1.172 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.8629, allocations: 0 / 1.172 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.8629, allocations: 0 / 1.172 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001849/0.8631, allocations: 137.8 kB / 1.173 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.956e-05/0.8632, allocations: 81.11 kB / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.8632, allocations: 4 kB / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.026e-05/0.8632, allocations: 0 / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.693e-05/0.8633, allocations: 19.86 kB / 1.173 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.8633, allocations: 4 kB / 1.173 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.322e-05/0.8633, allocations: 99.75 kB / 1.173 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8633, allocations: 0 / 1.173 GB, free: 12.54 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002641/0.8636, allocations: 43.91 kB / 1.173 GB, free: 12.5 MB / 0.9044 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.0005305/0.8641, allocations: 0.6703 MB / 1.173 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004654/0.8646, allocations: 326.5 kB / 1.174 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.8646, allocations: 0 / 1.174 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 6.153e-05/0.8647, allocations: 31.98 kB / 1.174 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.865, allocations: 32.36 kB / 1.174 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002558/0.8675, allocations: 2.169 MB / 1.176 GB, free: 9.09 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.8678, allocations: 0.7041 MB / 1.177 GB, free: 8.359 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.708e-05/0.8679, allocations: 8 kB / 1.177 GB, free: 8.352 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.241e-05/0.8679, allocations: 19.42 kB / 1.177 GB, free: 8.336 MB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/0.8679, allocations: 8 kB / 1.177 GB, free: 8.328 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01947/0.8874, allocations: 3.478 MB / 1.18 GB, free: 5.012 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.666/8.554, allocations: 20.94 kB / 1.18 GB, free: 4.996 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches