Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 173.3 kB / 23.49 MB, free: 1.059 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.099/1.099, allocations: 177.1 MB / 203.8 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.12/2.12, allocations: 429.5 MB / 0.6736 GB, free: 4.066 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaRep.u|reaRep.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|reaRep.u|reaRep.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.665e-06/2.665e-06, allocations: 0 / 0.8782 GB, free: 6.676 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.024e-05/3.29e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001719/0.001752, allocations: 0.6532 MB / 0.8788 GB, free: 6.039 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.002851, allocations: 0.8381 MB / 0.8796 GB, free: 5.191 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.722e-05/0.002909, allocations: 0 / 0.8796 GB, free: 5.191 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001122/0.003021, allocations: 0 / 0.8796 GB, free: 5.191 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.185e-05/0.003053, allocations: 14.66 kB / 0.8797 GB, free: 5.18 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001296/0.003182, allocations: 3.938 kB / 0.8797 GB, free: 5.176 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.064e-05/0.003273, allocations: 32.95 kB / 0.8797 GB, free: 5.145 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.00338, allocations: 9.859 kB / 0.8797 GB, free: 5.137 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.725e-05/0.003457, allocations: 11.94 kB / 0.8797 GB, free: 5.125 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.795e-05/0.003515, allocations: 7.984 kB / 0.8797 GB, free: 5.117 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.003539, allocations: 4 kB / 0.8797 GB, free: 5.113 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 7.584e-06/0.003547, allocations: 0 / 0.8797 GB, free: 5.113 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.441e-05/0.003611, allocations: 13.33 kB / 0.8797 GB, free: 5.102 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.811e-05/0.003649, allocations: 11.94 kB / 0.8798 GB, free: 5.09 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.447e-05/0.003744, allocations: 15.97 kB / 0.8798 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.003748, allocations: 0 / 0.8798 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.593e-06/0.00375, allocations: 1.094 kB / 0.8798 GB, free: 5.074 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.003755, allocations: 0 / 0.8798 GB, free: 5.074 MB / 0.8386 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.0004096/0.004165, allocations: 369.2 kB / 0.8801 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.004211, allocations: 8.031 kB / 0.8801 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.496e-05/0.004256, allocations: 13.39 kB / 0.8801 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.004398, allocations: 116.3 kB / 0.8803 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.004408, allocations: 4.312 kB / 0.8803 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.004418, allocations: 384 / 0.8803 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.004566, allocations: 58.95 kB / 0.8803 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.004572, allocations: 192 / 0.8803 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.004582, allocations: 4.312 kB / 0.8803 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.004591, allocations: 384 / 0.8803 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.835e-05/0.004619, allocations: 11.94 kB / 0.8803 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003365/0.004955, allocations: 267.7 kB / 0.8806 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.069e-05/0.005006, allocations: 28.84 kB / 0.8806 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.463e-05/0.005031, allocations: 7.688 kB / 0.8806 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.145e-06/0.005039, allocations: 0 / 0.8806 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.005068, allocations: 41.39 kB / 0.8807 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.005069, allocations: 0 / 0.8807 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001597/0.005229, allocations: 38.61 kB / 0.8807 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.005264, allocations: 51.41 kB / 0.8807 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.005369, allocations: 167 kB / 0.8809 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.005382, allocations: 25.7 kB / 0.8809 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.712e-05/0.005439, allocations: 126.9 kB / 0.8811 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.005458, allocations: 5.547 kB / 0.8811 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.005497, allocations: 23.36 kB / 0.8811 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.005639, allocations: 496.1 kB / 0.8816 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.709e-05/0.005656, allocations: 256 / 0.8816 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.078e-05/0.005667, allocations: 6.469 kB / 0.8816 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.939e-05/0.005696, allocations: 11.69 kB / 0.8816 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.005698, allocations: 0 / 0.8816 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.355e-05/0.005762, allocations: 41.58 kB / 0.8816 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.005779, allocations: 4 kB / 0.8816 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.005784, allocations: 2.062 kB / 0.8816 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.0058, allocations: 0 / 0.8816 GB, free: 2.988 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.092e-05/0.005881, allocations: 7.984 kB / 0.8816 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.005888, allocations: 3.984 kB / 0.8816 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.314e-05/0.005911, allocations: 11.94 kB / 0.8816 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.005917, allocations: 0.7188 kB / 0.8816 GB, free: 2.965 MB / 0.8386 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.755e-05/0.005994, allocations: 154.2 kB / 0.8818 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.303e-05/0.006017, allocations: 11.89 kB / 0.8818 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.85e-05/0.006046, allocations: 7.141 kB / 0.8818 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.006049, allocations: 3.984 kB / 0.8818 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.006053, allocations: 0 / 0.8818 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.006056, allocations: 1.188 kB / 0.8818 GB, free: 2.777 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.006184, allocations: 120.6 kB / 0.8819 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.006185, allocations: 3.938 kB / 0.8819 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.371e-05/0.006209, allocations: 4.219 kB / 0.8819 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.006211, allocations: 4 kB / 0.8819 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.006223, allocations: 3.938 kB / 0.8819 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.006224, allocations: 0 / 0.8819 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.006225, allocations: 0 / 0.8819 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.006353, allocations: 187.9 kB / 0.8821 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.601e-06/0.006359, allocations: 0 / 0.8821 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.006372, allocations: 3.938 kB / 0.8821 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.627e-05/0.006418, allocations: 4 kB / 0.8821 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-05/0.006459, allocations: 0 / 0.8821 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.006461, allocations: 4.031 kB / 0.8821 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.396e-05/0.006505, allocations: 127.2 kB / 0.8822 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.006505, allocations: 0 / 0.8822 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002091/0.006715, allocations: 4 kB / 0.8823 GB, free: 2.266 MB / 0.8386 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.0001102/0.006825, allocations: 99.25 kB / 0.8823 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.507e-05/0.00691, allocations: 15.62 kB / 0.8824 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.006911, allocations: 0 / 0.8824 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.735e-05/0.006929, allocations: 7.688 kB / 0.8824 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.007198, allocations: 16.3 kB / 0.8824 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003141/0.007512, allocations: 118.4 kB / 0.8825 GB, free: 1.969 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.179e-05/0.007554, allocations: 55.36 kB / 0.8826 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.902e-05/0.007583, allocations: 3.984 kB / 0.8826 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.038e-05/0.007613, allocations: 8.5 kB / 0.8826 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of SimCode: time 9.92e-07/0.007614, allocations: 0 / 0.8826 GB, free: 1.883 MB / 0.8386 GB Notification: Performance of Templates: time 0.00265/0.01026, allocations: 474.1 kB / 0.883 GB, free: 1.43 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.578271637903526]