Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.BooleanScalarReplicator,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="Buildings_latest_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.007795/0.007795, allocations: 99.55 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.001454/0.001454, allocations: 198.9 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.406/1.406, 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.627/2.627, allocations: 461.9 MB / 0.7348 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001485, allocations: 59.91 kB / 1.054 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8609/0.8625, 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.BooleanScalarReplicator): time 0.002377/0.8649, allocations: 0.6191 MB / 1.208 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001799/0.8667, allocations: 1.116 MB / 1.209 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.901e-05/0.8668, allocations: 0 / 1.209 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.867, allocations: 7.938 kB / 1.209 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.428e-05/0.867, allocations: 7.922 kB / 1.209 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005886/0.8676, allocations: 126.5 kB / 1.209 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.8678, allocations: 103.8 kB / 1.209 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.53e-05/0.8679, allocations: 4 kB / 1.209 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.058e-05/0.868, allocations: 31.97 kB / 1.209 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.8681, allocations: 35.89 kB / 1.209 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.64e-05/0.8682, allocations: 8 kB / 1.209 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 7.062e-05/0.8683, allocations: 19.98 kB / 1.209 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.298e-05/0.8683, allocations: 15.97 kB / 1.209 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.457e-05/0.8684, allocations: 35.86 kB / 1.209 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.8686, allocations: 86.03 kB / 1.209 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.8686, allocations: 0 / 1.209 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8686, allocations: 4 kB / 1.209 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.304e-05/0.8686, allocations: 0 / 1.209 GB, free: 11.3 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005682/0.8692, allocations: 385 kB / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.8693, allocations: 12.03 kB / 1.21 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.116e-05/0.8693, allocations: 38.75 kB / 1.21 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.316e-05/0.8694, allocations: 4.938 kB / 1.21 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.8696, allocations: 184.3 kB / 1.21 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.8696, allocations: 384 / 1.21 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.8697, allocations: 8.375 kB / 1.21 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.8698, allocations: 50.25 kB / 1.21 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.8698, allocations: 3.938 kB / 1.21 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-06/0.8698, allocations: 0 / 1.21 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.8698, allocations: 0 / 1.21 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.045e-05/0.8699, allocations: 19.92 kB / 1.21 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004107/0.8703, allocations: 292.8 kB / 1.21 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.556e-05/0.8704, allocations: 26.52 kB / 1.21 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.005e-05/0.8704, allocations: 12.92 kB / 1.21 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/0.8704, allocations: 0 / 1.21 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001953/0.8706, allocations: 63.33 kB / 1.21 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.533e-06/0.8706, allocations: 3.938 kB / 1.21 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0002097/0.8708, allocations: 61.59 kB / 1.211 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.8709, allocations: 51.41 kB / 1.211 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.871, allocations: 105.8 kB / 1.211 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/0.871, allocations: 33.7 kB / 1.211 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.465e-05/0.8711, allocations: 100 kB / 1.211 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.475e-05/0.8711, allocations: 3.938 kB / 1.211 GB, free: 9.652 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.207e-05/0.8712, allocations: 33.64 kB / 1.211 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.8713, allocations: 318.8 kB / 1.211 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.525e-05/0.8714, allocations: 27.98 kB / 1.211 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.032e-05/0.8715, allocations: 50.73 kB / 1.211 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.8716, allocations: 84.3 kB / 1.211 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.8717, allocations: 0 / 1.211 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000258/0.8719, allocations: 147.2 kB / 1.211 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.271e-05/0.872, allocations: 37.64 kB / 1.211 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.872, allocations: 0 / 1.211 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.872, allocations: 0 / 1.211 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.71e-05/0.872, allocations: 4 kB / 1.211 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.872, allocations: 4.094 kB / 1.211 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.8722, allocations: 32.27 kB / 1.212 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.8723, allocations: 4 kB / 1.212 GB, free: 8.867 MB / 0.9356 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 9.563e-05/0.8724, allocations: 117.8 kB / 1.212 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.123e-05/0.8724, allocations: 0 / 1.212 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.478e-05/0.8724, allocations: 15.89 kB / 1.212 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.8724, allocations: 4 kB / 1.212 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.8725, allocations: 4 kB / 1.212 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.8725, allocations: 0 / 1.212 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.8726, allocations: 161.6 kB / 1.212 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.8726, allocations: 0 / 1.212 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.623e-06/0.8726, allocations: 0 / 1.212 GB, free: 8.5 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.8726, allocations: 3.984 kB / 1.212 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.8726, allocations: 0 / 1.212 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.8726, allocations: 0 / 1.212 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.8726, allocations: 0 / 1.212 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001285/0.8728, allocations: 92.91 kB / 1.212 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.888e-05/0.8728, allocations: 77.11 kB / 1.212 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.8728, allocations: 3.938 kB / 1.212 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.709e-05/0.8729, allocations: 11.98 kB / 1.212 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.2e-05/0.8729, allocations: 3.938 kB / 1.212 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.8729, allocations: 0 / 1.212 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.851e-05/0.8729, allocations: 79.28 kB / 1.212 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8729, allocations: 4 kB / 1.212 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002201/0.8732, allocations: 16 kB / 1.212 GB, free: 8.176 MB / 0.9356 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.0004017/0.8736, allocations: 0.6347 MB / 1.213 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002066/0.8738, allocations: 119.4 kB / 1.213 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.8738, allocations: 0 / 1.213 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.032e-05/0.8738, allocations: 15.92 kB / 1.213 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.8741, allocations: 12.19 kB / 1.213 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.8755, allocations: 1.354 MB / 1.214 GB, free: 5.902 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.8758, allocations: 0.6807 MB / 1.215 GB, free: 5.195 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.559e-05/0.8758, allocations: 12.22 kB / 1.215 GB, free: 5.184 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.315e-05/0.8759, allocations: 11.44 kB / 1.215 GB, free: 5.176 MB / 0.9356 GB Notification: Performance of SimCode: time 3.51e-07/0.8759, allocations: 4 kB / 1.215 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01943/0.8953, allocations: 1.997 MB / 1.217 GB, free: 3.328 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.705/8.601, allocations: 2.625 kB / 1.217 GB, free: 3.328 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches