Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaRep.u|reaRep.y.1.|reaRep.y.2.|reaRep.y.3.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reaRep.u|reaRep.y.1.|reaRep.y.2.|reaRep.y.3.",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.431/1.431, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.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.623/2.623, allocations: 437 MB / 0.7104 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 67.89 kB / 0.8692 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7404/0.7418, allocations: 151.6 MB / 1.017 GB, free: 2.477 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002834/0.7447, allocations: 0.6383 MB / 1.018 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001208/0.7459, allocations: 0.7923 MB / 1.019 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.336e-05/0.746, allocations: 0 / 1.019 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.7461, allocations: 0 / 1.019 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.676e-05/0.7462, allocations: 7.922 kB / 1.019 GB, free: 1.027 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001226/0.7463, allocations: 11.98 kB / 1.019 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.74e-05/0.7464, allocations: 19.92 kB / 1.019 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.7466, allocations: 8 kB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.358e-05/0.7466, allocations: 19.92 kB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.275e-05/0.7467, allocations: 7.938 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.7467, allocations: 0 / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.243e-05/0.7467, allocations: 4 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 6.339e-05/0.7468, allocations: 11.92 kB / 1.019 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.903e-05/0.7468, allocations: 11.94 kB / 1.019 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.747, allocations: 39.88 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.747, allocations: 0 / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.793e-06/0.747, allocations: 0 / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.747, allocations: 0 / 1.019 GB, free: 0.8945 MB / 0.7637 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.0005117/0.7475, allocations: 345.4 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.7476, allocations: 8.031 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.84e-05/0.7476, allocations: 4.844 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.7478, allocations: 176.2 kB / 1.019 GB, free: 292 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.7478, allocations: 8.359 kB / 1.019 GB, free: 284 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.7478, allocations: 4.375 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000223/0.7481, allocations: 54.23 kB / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.7481, allocations: 192 / 1.019 GB, free: 220 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.7481, allocations: 7.938 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.7481, allocations: 0 / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.7483, allocations: 39.95 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004557/0.7487, allocations: 272.8 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.7489, allocations: 42.55 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.268e-05/0.749, allocations: 16.91 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.749, allocations: 0 / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.749, allocations: 38.56 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 2.585e-06/0.749, allocations: 0 / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0003576/0.7494, allocations: 85.52 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.7494, allocations: 51.41 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.568e-05/0.7495, allocations: 101.9 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.7495, allocations: 25.7 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.8e-05/0.7496, allocations: 88.12 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.7496, allocations: 3.906 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.705e-05/0.7497, allocations: 17.72 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.7498, allocations: 318.9 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.666e-05/0.7499, allocations: 15.98 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.994e-05/0.75, allocations: 19.97 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.7501, allocations: 32.83 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.7501, allocations: 0 / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001935/0.7503, allocations: 69.66 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.7504, allocations: 8 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.7504, allocations: 0 / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.7504, allocations: 0 / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.623e-05/0.7505, allocations: 11.92 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.7505, allocations: 0 / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.266e-05/0.7505, allocations: 4 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.7506, allocations: 32 / 1.021 GB, free: 14.84 MB / 0.7794 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 7.767e-05/0.7506, allocations: 121.8 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.337e-05/0.7507, allocations: 0 / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.448e-05/0.7507, allocations: 7.125 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-06/0.7507, allocations: 0 / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.7507, allocations: 0 / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.7507, allocations: 4 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/0.7509, allocations: 161.6 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.7509, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.512e-05/0.751, allocations: 4 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.751, allocations: 4 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.751, allocations: 4 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.751, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.751, allocations: 0 / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.7513, allocations: 163.3 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.664e-05/0.7513, allocations: 77.14 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.7513, allocations: 15.92 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.965e-05/0.7514, allocations: 256 / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.918e-05/0.7515, allocations: 4 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-06/0.7515, allocations: 8 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.617e-05/0.7515, allocations: 83.27 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7515, allocations: 0 / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002161/0.7517, allocations: 7.938 kB / 1.021 GB, free: 14.09 MB / 0.7794 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.0001149/0.7519, allocations: 101.2 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002144/0.7521, allocations: 39.89 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.7521, allocations: 0 / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.272e-05/0.7522, allocations: 19.98 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.7525, allocations: 6.859 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003082/0.7528, allocations: 109.7 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.7531, allocations: 0.6807 MB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.118e-05/0.7531, allocations: 0 / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.775e-05/0.7532, allocations: 7.438 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of SimCode: time 3.91e-07/0.7532, allocations: 4 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of Templates: time 0.002541/0.7557, allocations: 423.6 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches