Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.IntegerScalarReplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",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.007648/0.007649, allocations: 102.9 kB / 15.73 MB, free: 6.043 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.001697/0.001697, allocations: 193.5 kB / 16.67 MB, free: 5.961 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.375/1.375, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.252/2.252, allocations: 390.3 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 75.88 kB / 0.9504 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8556/0.8571, allocations: 140.4 MB / 1.087 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001862/0.859, allocations: 0.6681 MB / 1.088 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001151/0.8602, allocations: 0.8306 MB / 1.089 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.139e-05/0.8603, allocations: 0 / 1.089 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000135/0.8604, allocations: 5.469 kB / 1.089 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.248e-05/0.8604, allocations: 9.547 kB / 1.089 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.8606, allocations: 20.27 kB / 1.089 GB, free: 4.203 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.8608, allocations: 29.55 kB / 1.089 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.8609, allocations: 14.44 kB / 1.089 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.915e-05/0.861, allocations: 15.56 kB / 1.089 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.628e-05/0.8611, allocations: 17.78 kB / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.8611, allocations: 2.625 kB / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.691e-05/0.8611, allocations: 2.969 kB / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.791e-05/0.8612, allocations: 13.8 kB / 1.089 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.696e-05/0.8613, allocations: 13.52 kB / 1.089 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.8614, allocations: 39.45 kB / 1.089 GB, free: 4.137 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.8614, allocations: 5.062 kB / 1.089 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.515e-06/0.8614, allocations: 4 kB / 1.089 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.147e-05/0.8614, allocations: 0 / 1.089 GB, free: 4.129 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005109/0.862, allocations: 354.5 kB / 1.089 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/0.862, allocations: 10.17 kB / 1.089 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.469e-05/0.8621, allocations: 36.33 kB / 1.089 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.886e-05/0.8621, allocations: 3.031 kB / 1.089 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.8622, allocations: 172.3 kB / 1.09 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.8623, allocations: 5.312 kB / 1.09 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.8623, allocations: 6.594 kB / 1.09 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.8625, allocations: 63.11 kB / 1.09 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.8625, allocations: 5.031 kB / 1.09 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.8626, allocations: 0 / 1.09 GB, free: 3.465 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.8626, allocations: 5.062 kB / 1.09 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002133/0.8628, allocations: 48.27 kB / 1.09 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003963/0.8632, allocations: 277.3 kB / 1.09 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.8634, allocations: 47.67 kB / 1.09 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.8635, allocations: 21.33 kB / 1.09 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.8635, allocations: 0 / 1.09 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/0.8635, allocations: 36.05 kB / 1.09 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 7.32e-07/0.8635, allocations: 5.031 kB / 1.09 GB, free: 3.074 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0004175/0.864, allocations: 88.27 kB / 1.09 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.864, allocations: 52.06 kB / 1.09 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.461e-05/0.8641, allocations: 103.9 kB / 1.09 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.8641, allocations: 26.41 kB / 1.09 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.403e-05/0.8641, allocations: 82.98 kB / 1.09 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.027e-05/0.8642, allocations: 13.7 kB / 1.091 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.785e-05/0.8642, allocations: 23.34 kB / 1.091 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.314e-05/0.8643, allocations: 323.3 kB / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.471e-05/0.8644, allocations: 15.92 kB / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.388e-05/0.8645, allocations: 20.25 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001686/0.8647, allocations: 43.61 kB / 1.091 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.8647, allocations: 1.188 kB / 1.091 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002091/0.8649, allocations: 70.16 kB / 1.091 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.8649, allocations: 5.938 kB / 1.091 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.8649, allocations: 0 / 1.091 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.8649, allocations: 0.6875 kB / 1.091 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.8651, allocations: 10.25 kB / 1.091 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.8651, allocations: 7.969 kB / 1.091 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.423e-05/0.8651, allocations: 10.47 kB / 1.091 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.8651, allocations: 1.344 kB / 1.091 GB, free: 2.324 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 0.0001205/0.8653, allocations: 113.7 kB / 1.091 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.8653, allocations: 5.406 kB / 1.091 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.2e-05/0.8653, allocations: 8.797 kB / 1.091 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.8653, allocations: 0.6875 kB / 1.091 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.8653, allocations: 1.203 kB / 1.091 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.8653, allocations: 4 kB / 1.091 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.8655, allocations: 170.2 kB / 1.091 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.8655, allocations: 0 / 1.091 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.231e-05/0.8656, allocations: 9.672 kB / 1.091 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.8656, allocations: 1.688 kB / 1.091 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.8656, allocations: 0 / 1.091 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.8656, allocations: 1.859 kB / 1.091 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.8656, allocations: 256 / 1.091 GB, free: 1.992 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002361/0.8658, allocations: 177.8 kB / 1.091 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.751e-05/0.8659, allocations: 79.3 kB / 1.092 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.8659, allocations: 4.797 kB / 1.092 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.644e-05/0.866, allocations: 6.828 kB / 1.092 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.963e-05/0.866, allocations: 3.812 kB / 1.092 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-06/0.866, allocations: 1.406 kB / 1.092 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 2.671e-05/0.8661, allocations: 84.84 kB / 1.092 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8661, allocations: 4.031 kB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000215/0.8663, allocations: 9.891 kB / 1.092 GB, free: 1.656 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.000462/0.8668, allocations: 0.6964 MB / 1.092 GB, free: 16.99 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002568/0.867, allocations: 54.62 kB / 1.092 GB, free: 16.97 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.8671, allocations: 0 / 1.092 GB, free: 16.97 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.8672, allocations: 24.12 kB / 1.092 GB, free: 16.96 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.8674, allocations: 7.391 kB / 1.092 GB, free: 16.96 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.869, allocations: 1.261 MB / 1.094 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.8693, allocations: 0.6802 MB / 1.094 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.734e-05/0.8693, allocations: 3.766 kB / 1.094 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.33e-05/0.8694, allocations: 15.33 kB / 1.094 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of SimCode: time 4.91e-07/0.8694, allocations: 0 / 1.094 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01847/0.8879, allocations: 1.531 MB / 1.096 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.582/8.47, allocations: 11.5 kB / 1.096 GB, free: 14.71 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches