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.0009802/0.0009802, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001043/0.001043, allocations: 169.3 kB / 23.02 MB, free: 1.551 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.019/1.019, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.187/2.187, allocations: 429.5 MB / 0.6732 GB, free: 4.059 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.394e-06/2.394e-06, allocations: 0 / 0.8782 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.768e-05/3.008e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001572/0.001602, allocations: 0.6643 MB / 0.8788 GB, free: 5.691 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009752/0.002577, allocations: 0.8371 MB / 0.8796 GB, free: 4.844 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.347e-05/0.00263, allocations: 0 / 0.8796 GB, free: 4.844 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.002748, allocations: 0 / 0.8796 GB, free: 4.844 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.092e-05/0.002779, allocations: 10.39 kB / 0.8796 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001324/0.002912, allocations: 15.92 kB / 0.8797 GB, free: 4.82 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.862e-05/0.00299, allocations: 29.36 kB / 0.8797 GB, free: 4.793 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.003091, allocations: 4 kB / 0.8797 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.952e-05/0.003161, allocations: 15.98 kB / 0.8797 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.791e-05/0.003219, allocations: 7.984 kB / 0.8797 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.003237, allocations: 1.188 kB / 0.8797 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.646e-06/0.003246, allocations: 4 kB / 0.8797 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.563e-05/0.003311, allocations: 11.94 kB / 0.8797 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.922e-05/0.003341, allocations: 0 / 0.8797 GB, free: 4.75 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.993e-05/0.003431, allocations: 31.33 kB / 0.8798 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.003434, allocations: 0 / 0.8798 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.563e-06/0.003436, allocations: 0 / 0.8798 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.003443, allocations: 0 / 0.8798 GB, free: 4.723 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.0005055/0.003949, allocations: 364.5 kB / 0.8801 GB, free: 4.328 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.003991, allocations: 8.031 kB / 0.8801 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.78e-05/0.004029, allocations: 8.891 kB / 0.8801 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.004154, allocations: 116.6 kB / 0.8802 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.004166, allocations: 4.969 kB / 0.8802 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.004181, allocations: 4.312 kB / 0.8802 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.004322, allocations: 56.48 kB / 0.8803 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.004334, allocations: 192 / 0.8803 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.004343, allocations: 384 / 0.8803 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.004351, allocations: 4.375 kB / 0.8803 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.804e-05/0.004379, allocations: 17.42 kB / 0.8803 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003192/0.004699, allocations: 263.8 kB / 0.8806 GB, free: 3.789 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.485e-05/0.004743, allocations: 23.06 kB / 0.8806 GB, free: 3.754 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.326e-05/0.004767, allocations: 15.75 kB / 0.8806 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.418e-06/0.004776, allocations: 3.984 kB / 0.8806 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.004803, allocations: 37.33 kB / 0.8807 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.004804, allocations: 0 / 0.8807 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001544/0.004958, allocations: 45.62 kB / 0.8807 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.00499, allocations: 51.41 kB / 0.8807 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.093e-05/0.005071, allocations: 157.9 kB / 0.8809 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.005083, allocations: 29.7 kB / 0.8809 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.608e-05/0.005139, allocations: 134.9 kB / 0.8811 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.005157, allocations: 3.953 kB / 0.8811 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.502e-05/0.005182, allocations: 19.5 kB / 0.8811 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.005305, allocations: 0.4884 MB / 0.8815 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.29e-05/0.005318, allocations: 0 / 0.8815 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.937e-06/0.005327, allocations: 0 / 0.8815 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.638e-05/0.005353, allocations: 11.69 kB / 0.8816 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.005355, allocations: 0 / 0.8816 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.066e-05/0.005416, allocations: 41.56 kB / 0.8816 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.005431, allocations: 8 kB / 0.8816 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.005435, allocations: 0 / 0.8816 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.005454, allocations: 4.094 kB / 0.8816 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.665e-05/0.005541, allocations: 4 kB / 0.8816 GB, free: 2.617 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.005546, allocations: 3.938 kB / 0.8816 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.999e-05/0.005566, allocations: 7.922 kB / 0.8816 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-06/0.005574, allocations: 4 kB / 0.8816 GB, free: 2.602 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.831e-05/0.005652, allocations: 156.6 kB / 0.8818 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.619e-05/0.005668, allocations: 7.891 kB / 0.8818 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.673e-05/0.005705, allocations: 7.156 kB / 0.8818 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.005706, allocations: 0 / 0.8818 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.005711, allocations: 0 / 0.8818 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.005715, allocations: 4 kB / 0.8818 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.005825, allocations: 116.6 kB / 0.8819 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.005826, allocations: 0 / 0.8819 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.83e-05/0.005845, allocations: 4 kB / 0.8819 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.005847, allocations: 0 / 0.8819 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.005856, allocations: 3.938 kB / 0.8819 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.005857, allocations: 0 / 0.8819 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.00586, allocations: 7.984 kB / 0.8819 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.005987, allocations: 179.9 kB / 0.8821 GB, free: 2.055 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.214e-05/0.005999, allocations: 4 kB / 0.8821 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.006013, allocations: 7.969 kB / 0.8821 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.925e-05/0.006042, allocations: 3.984 kB / 0.8821 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.006085, allocations: 4 kB / 0.8821 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.006087, allocations: 0 / 0.8821 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.306e-05/0.00614, allocations: 127.4 kB / 0.8822 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.00614, allocations: 0 / 0.8822 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001455/0.006286, allocations: 4 kB / 0.8822 GB, free: 1.906 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.0001306/0.006416, allocations: 95.23 kB / 0.8823 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001032/0.006519, allocations: 23.62 kB / 0.8824 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.006522, allocations: 0 / 0.8824 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.95e-05/0.006541, allocations: 11.69 kB / 0.8824 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002455/0.006787, allocations: 7.938 kB / 0.8824 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003787/0.007165, allocations: 118.4 kB / 0.8825 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.572e-05/0.007211, allocations: 55.34 kB / 0.8825 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.738e-05/0.007239, allocations: 4 kB / 0.8825 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.583e-05/0.007274, allocations: 8.625 kB / 0.8826 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of SimCode: time 1.392e-06/0.007276, allocations: 4 kB / 0.8826 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of Templates: time 0.003402/0.01068, allocations: 465.4 kB / 0.883 GB, free: 1.074 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.629248621873558]