Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.RealScalarReplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",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.001436/0.001436, 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.001671/0.001671, allocations: 197.1 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.382/1.382, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.405/2.405, allocations: 390.2 MB / 0.6643 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 63.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7489/0.7504, allocations: 140.4 MB / 0.9491 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001857/0.7523, allocations: 0.7056 MB / 0.9497 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007324/0.7531, allocations: 0.7889 MB / 0.9505 GB, free: 8.02 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.318e-05/0.7532, allocations: 5.031 kB / 0.9505 GB, free: 8.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.841e-05/0.7533, allocations: 4 kB / 0.9505 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.41e-05/0.7533, allocations: 0 / 0.9505 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001046/0.7534, allocations: 6.359 kB / 0.9505 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.598e-05/0.7535, allocations: 26.14 kB / 0.9506 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.7536, allocations: 2.344 kB / 0.9506 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.455e-05/0.7536, allocations: 15.27 kB / 0.9506 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.129e-05/0.7537, allocations: 15.55 kB / 0.9506 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.7537, allocations: 1.25 kB / 0.9506 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.114e-05/0.7538, allocations: 1.281 kB / 0.9506 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.762e-05/0.7538, allocations: 7.781 kB / 0.9506 GB, free: 7.965 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.547e-05/0.7539, allocations: 10.41 kB / 0.9506 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.751e-05/0.7539, allocations: 33.03 kB / 0.9506 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.7539, allocations: 0 / 0.9506 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.713e-06/0.754, allocations: 1.25 kB / 0.9506 GB, free: 7.93 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.411e-06/0.754, allocations: 0 / 0.9506 GB, free: 7.93 MB / 0.7169 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.0003866/0.7544, allocations: 345.1 kB / 0.951 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.7544, allocations: 16.7 kB / 0.951 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.085e-05/0.7544, allocations: 35.78 kB / 0.951 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.45e-05/0.7545, allocations: 7.688 kB / 0.951 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.7546, allocations: 167 kB / 0.9512 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.7546, allocations: 1.688 kB / 0.9512 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.7546, allocations: 9.641 kB / 0.9512 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001845/0.7548, allocations: 56.38 kB / 0.9513 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.7548, allocations: 5.469 kB / 0.9513 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.7548, allocations: 4 kB / 0.9513 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.7548, allocations: 0 / 0.9513 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001573/0.755, allocations: 37.06 kB / 0.9513 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003528/0.7554, allocations: 277 kB / 0.9516 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001025/0.7555, allocations: 36.62 kB / 0.9516 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.724e-05/0.7556, allocations: 18 kB / 0.9516 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.7556, allocations: 3.938 kB / 0.9516 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.624e-05/0.7556, allocations: 32.19 kB / 0.9516 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.001e-06/0.7556, allocations: 0 / 0.9516 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0003126/0.7559, allocations: 81.8 kB / 0.9517 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.756, allocations: 51.41 kB / 0.9518 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.268e-05/0.756, allocations: 108.3 kB / 0.9519 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.963e-06/0.756, allocations: 25.7 kB / 0.9519 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.617e-05/0.7561, allocations: 82.55 kB / 0.952 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.315e-05/0.7561, allocations: 3.906 kB / 0.952 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.475e-05/0.7561, allocations: 16.09 kB / 0.952 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.814e-05/0.7562, allocations: 324 kB / 0.9523 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.078e-05/0.7562, allocations: 12.64 kB / 0.9523 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.034e-05/0.7563, allocations: 20.33 kB / 0.9523 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001383/0.7565, allocations: 39.33 kB / 0.9524 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.7565, allocations: 0 / 0.9524 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001683/0.7566, allocations: 66.09 kB / 0.9524 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.7567, allocations: 5.219 kB / 0.9524 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.7567, allocations: 0 / 0.9524 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.7567, allocations: 0 / 0.9524 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.402e-05/0.7568, allocations: 8.172 kB / 0.9525 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.7568, allocations: 1.344 kB / 0.9525 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.601e-05/0.7568, allocations: 7.047 kB / 0.9525 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.7568, allocations: 1.219 kB / 0.9525 GB, free: 6.047 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 4.984e-05/0.7569, allocations: 119.9 kB / 0.9526 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.155e-05/0.7569, allocations: 0.75 kB / 0.9526 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.571e-05/0.7569, allocations: 3.906 kB / 0.9526 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.757, allocations: 1.406 kB / 0.9526 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.757, allocations: 0 / 0.9526 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.757, allocations: 3.938 kB / 0.9526 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/0.7571, allocations: 168.7 kB / 0.9527 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.7571, allocations: 0 / 0.9527 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.082e-05/0.7571, allocations: 8.109 kB / 0.9528 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.7571, allocations: 5.438 kB / 0.9528 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.7572, allocations: 0 / 0.9528 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.7572, allocations: 0 / 0.9528 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.7572, allocations: 1.375 kB / 0.9528 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001917/0.7574, allocations: 160.1 kB / 0.9529 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.679e-05/0.7574, allocations: 78.36 kB / 0.953 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.7574, allocations: 4 kB / 0.953 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.428e-05/0.7575, allocations: 3.5 kB / 0.953 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.7575, allocations: 9.391 kB / 0.953 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.7575, allocations: 0 / 0.953 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.231e-05/0.7576, allocations: 87.94 kB / 0.9531 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7576, allocations: 0 / 0.9531 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002038/0.7578, allocations: 8.406 kB / 0.9531 GB, free: 5.355 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0003731/0.7581, allocations: 0.6924 MB / 0.9538 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001946/0.7584, allocations: 34.23 kB / 0.9538 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.7584, allocations: 4.094 kB / 0.9538 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.115e-05/0.7584, allocations: 18.61 kB / 0.9538 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.7587, allocations: 4.344 kB / 0.9538 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.7598, allocations: 1.234 MB / 0.955 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.7599, allocations: 0.6793 MB / 0.9557 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.23e-05/0.76, allocations: 5.953 kB / 0.9557 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.378e-05/0.76, allocations: 8.594 kB / 0.9557 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.76, allocations: 0 / 0.9557 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009673/0.7697, allocations: 1.096 MB / 0.9568 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001283/0.7698, allocations: 221 kB / 0.957 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/2.441, allocations: 2.891 kB / 0.957 GB, free: 1.902 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches