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.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: 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_9_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_9_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.001169/0.001175, allocations: 108 kB / 15.61 MB, free: 152 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.001611/0.001611, allocations: 193.6 kB / 16.53 MB, free: 6.664 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.39/1.39, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.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.41/2.41, allocations: 390.2 MB / 0.6646 GB, free: 284 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 63.89 kB / 0.8125 GB, free: 14.29 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8302/0.8319, allocations: 140.3 MB / 0.9496 GB, free: 9.262 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.002705/0.8347, allocations: 0.6555 MB / 0.9502 GB, free: 8.754 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001586/0.8363, allocations: 0.7958 MB / 0.951 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.429e-05/0.8364, allocations: 1.375 kB / 0.951 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.8365, allocations: 0 / 0.951 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.599e-05/0.8366, allocations: 3.938 kB / 0.951 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001358/0.8368, allocations: 10.73 kB / 0.951 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.536e-05/0.8369, allocations: 21.56 kB / 0.951 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.837, allocations: 14.72 kB / 0.951 GB, free: 8.066 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.431e-05/0.8371, allocations: 8.125 kB / 0.9511 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.097e-05/0.8372, allocations: 10.67 kB / 0.9511 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.8372, allocations: 2.75 kB / 0.9511 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.018e-05/0.8372, allocations: 2.75 kB / 0.9511 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.613e-05/0.8373, allocations: 14.67 kB / 0.9511 GB, free: 8.043 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.742e-05/0.8373, allocations: 10.69 kB / 0.9511 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.953e-05/0.8374, allocations: 29.2 kB / 0.9511 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.8374, allocations: 4 kB / 0.9511 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.834e-06/0.8375, allocations: 1.25 kB / 0.9511 GB, free: 8.008 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.8375, allocations: 0 / 0.9511 GB, free: 8.008 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.0005206/0.838, allocations: 340.2 kB / 0.9515 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.8381, allocations: 10.12 kB / 0.9515 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.39e-05/0.8381, allocations: 6.062 kB / 0.9515 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.8382, allocations: 176 kB / 0.9516 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.8383, allocations: 1.719 kB / 0.9516 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.8383, allocations: 5.625 kB / 0.9516 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002012/0.8385, allocations: 56.92 kB / 0.9517 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.8385, allocations: 192 / 0.9517 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.8385, allocations: 3.938 kB / 0.9517 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.8385, allocations: 1.562 kB / 0.9517 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001717/0.8387, allocations: 36.81 kB / 0.9517 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004569/0.8392, allocations: 289.6 kB / 0.952 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.8393, allocations: 31.94 kB / 0.952 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.181e-05/0.8394, allocations: 17.53 kB / 0.9521 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.318e-05/0.8394, allocations: 0 / 0.9521 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.8394, allocations: 39.81 kB / 0.9521 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.8394, allocations: 3.938 kB / 0.9521 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0003441/0.8398, allocations: 77.45 kB / 0.9522 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.8398, allocations: 51.41 kB / 0.9522 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.582e-05/0.8399, allocations: 104.8 kB / 0.9523 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/0.8399, allocations: 25.7 kB / 0.9523 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.217e-05/0.84, allocations: 85.67 kB / 0.9524 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.295e-05/0.84, allocations: 5.438 kB / 0.9524 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-05/0.84, allocations: 18.84 kB / 0.9525 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.516e-05/0.8401, allocations: 320.6 kB / 0.9528 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.413e-05/0.8402, allocations: 12.42 kB / 0.9528 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.164e-05/0.8403, allocations: 20.86 kB / 0.9528 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.8404, allocations: 41.84 kB / 0.9528 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.8404, allocations: 256 / 0.9528 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001861/0.8406, allocations: 62.7 kB / 0.9529 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.8406, allocations: 4.719 kB / 0.9529 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.8406, allocations: 4 kB / 0.9529 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.8407, allocations: 0.9688 kB / 0.9529 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.875e-05/0.8407, allocations: 12.05 kB / 0.9529 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.8407, allocations: 1.062 kB / 0.9529 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.492e-05/0.8408, allocations: 8.078 kB / 0.9529 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.8408, allocations: 0 / 0.9529 GB, free: 6.16 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 6.955e-05/0.8409, allocations: 112.1 kB / 0.953 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/0.8409, allocations: 1.594 kB / 0.953 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.826e-05/0.8409, allocations: 8.812 kB / 0.953 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.841, allocations: 0 / 0.953 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.841, allocations: 0 / 0.953 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.841, allocations: 4 kB / 0.953 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001331/0.8411, allocations: 163.8 kB / 0.9532 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.8411, allocations: 0 / 0.9532 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.49e-05/0.8412, allocations: 9.391 kB / 0.9532 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.8412, allocations: 0 / 0.9532 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.8412, allocations: 1.312 kB / 0.9532 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.8412, allocations: 0 / 0.9532 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.8412, allocations: 0 / 0.9532 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002235/0.8414, allocations: 165.4 kB / 0.9534 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.303e-05/0.8415, allocations: 81.02 kB / 0.9534 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.8415, allocations: 1.125 kB / 0.9534 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.198e-05/0.8416, allocations: 8.578 kB / 0.9535 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.122e-05/0.8416, allocations: 4 kB / 0.9535 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.8416, allocations: 1.406 kB / 0.9535 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.624e-05/0.8417, allocations: 79.09 kB / 0.9535 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8417, allocations: 4.031 kB / 0.9535 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002188/0.8419, allocations: 11.81 kB / 0.9535 GB, free: 5.477 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.0001413/0.8421, allocations: 100.5 kB / 0.9536 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002132/0.8423, allocations: 35.5 kB / 0.9537 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.8423, allocations: 0 / 0.9537 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.092e-05/0.8424, allocations: 26.17 kB / 0.9537 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.8427, allocations: 8.188 kB / 0.9537 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003346/0.843, allocations: 112.9 kB / 0.9538 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.8432, allocations: 0.6819 MB / 0.9545 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.905e-05/0.8432, allocations: 2.594 kB / 0.9545 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.725e-05/0.8433, allocations: 8.781 kB / 0.9545 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of SimCode: time 1.252e-06/0.8433, allocations: 4.062 kB / 0.9545 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of Templates: time 0.002502/0.8458, allocations: 421.9 kB / 0.9549 GB, free: 4.305 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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