Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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.0009803/0.0009803, allocations: 73.97 kB / 20.65 MB, free: 3.844 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.001006/0.001006, allocations: 169.4 kB / 24.06 MB, free: 452 kB / 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 0.9859/0.9859, allocations: 177.1 MB / 204.5 MB, free: 5.125 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.162/2.162, allocations: 429.5 MB / 0.6743 GB, free: 3.941 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.IntegerScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ram.y|reaToInt.y|intRep.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ram.y|reaToInt.y|intRep.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.476e-06/3.476e-06, allocations: 0 / 0.8794 GB, free: 4.895 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.553e-05/3.9e-05, allocations: 2.312 kB / 0.8794 GB, free: 4.891 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001874/0.001913, allocations: 0.6884 MB / 0.8801 GB, free: 4.23 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001314/0.003227, allocations: 0.8746 MB / 0.8809 GB, free: 3.348 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.747e-05/0.003295, allocations: 4 kB / 0.8809 GB, free: 3.344 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0001298/0.003424, allocations: 3.938 kB / 0.8809 GB, free: 3.34 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 2.779e-05/0.003452, allocations: 5.469 kB / 0.8809 GB, free: 3.336 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002017/0.003654, allocations: 11.98 kB / 0.8809 GB, free: 3.324 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 9.398e-05/0.003748, allocations: 36.23 kB / 0.881 GB, free: 3.293 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.003865, allocations: 12.89 kB / 0.881 GB, free: 3.281 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 8.98e-05/0.003955, allocations: 19.98 kB / 0.881 GB, free: 3.262 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.81e-05/0.004023, allocations: 13.08 kB / 0.881 GB, free: 3.25 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.34e-05/0.004046, allocations: 4 kB / 0.881 GB, free: 3.246 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.182e-05/0.004058, allocations: 4 kB / 0.881 GB, free: 3.242 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 6.608e-05/0.004124, allocations: 13.52 kB / 0.881 GB, free: 3.23 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.778e-05/0.004152, allocations: 7.984 kB / 0.881 GB, free: 3.223 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.000107/0.004259, allocations: 35.78 kB / 0.8811 GB, free: 3.188 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.004262, allocations: 0 / 0.8811 GB, free: 3.188 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.303e-06/0.004263, allocations: 0 / 0.8811 GB, free: 3.188 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.004268, allocations: 2.125 kB / 0.8811 GB, free: 3.188 MB / 0.7917 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.0004208/0.004689, allocations: 376.6 kB / 0.8814 GB, free: 2.781 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.004732, allocations: 8.031 kB / 0.8814 GB, free: 2.773 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.66e-05/0.004769, allocations: 12.89 kB / 0.8815 GB, free: 2.762 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.004904, allocations: 108.6 kB / 0.8816 GB, free: 2.629 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.004926, allocations: 10.77 kB / 0.8816 GB, free: 2.621 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.004937, allocations: 4.375 kB / 0.8816 GB, free: 2.617 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.005082, allocations: 58.94 kB / 0.8816 GB, free: 2.551 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.005091, allocations: 4.125 kB / 0.8816 GB, free: 2.547 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.267e-06/0.005101, allocations: 4.375 kB / 0.8816 GB, free: 2.543 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.005109, allocations: 4.375 kB / 0.8816 GB, free: 2.539 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.769e-05/0.005137, allocations: 8.656 kB / 0.8816 GB, free: 2.531 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002963/0.005433, allocations: 258.1 kB / 0.8819 GB, free: 2.254 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 7.347e-05/0.005506, allocations: 31 kB / 0.8819 GB, free: 2.211 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.059e-05/0.005527, allocations: 11.75 kB / 0.8819 GB, free: 2.195 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.005541, allocations: 1.344 kB / 0.8819 GB, free: 2.195 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.00557, allocations: 41.33 kB / 0.882 GB, free: 2.145 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 1.774e-06/0.005572, allocations: 0 / 0.882 GB, free: 2.145 MB / 0.7917 GB Notification: Performance of matching and sorting (n=2): time 0.0001536/0.005725, allocations: 45.69 kB / 0.882 GB, free: 2.094 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.005761, allocations: 51.41 kB / 0.8821 GB, free: 2.031 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.505e-05/0.005847, allocations: 169.8 kB / 0.8822 GB, free: 1.848 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.005859, allocations: 25.7 kB / 0.8823 GB, free: 1.816 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 5.729e-05/0.005917, allocations: 138.8 kB / 0.8824 GB, free: 1.676 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 1.835e-05/0.005935, allocations: 11.89 kB / 0.8824 GB, free: 1.664 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/0.005968, allocations: 23.36 kB / 0.8824 GB, free: 1.633 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.006102, allocations: 496.1 kB / 0.8829 GB, free: 1.137 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.145e-05/0.006123, allocations: 4.25 kB / 0.8829 GB, free: 1.133 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.096e-05/0.006134, allocations: 0 / 0.8829 GB, free: 1.133 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.701e-05/0.006201, allocations: 19.88 kB / 0.8829 GB, free: 1.109 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.006203, allocations: 4 kB / 0.8829 GB, free: 1.105 MB / 0.7917 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.913e-05/0.006293, allocations: 41.69 kB / 0.883 GB, free: 1.059 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.00631, allocations: 11.88 kB / 0.883 GB, free: 1.047 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.006315, allocations: 0 / 0.883 GB, free: 1.047 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.006326, allocations: 0 / 0.883 GB, free: 1.047 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.464e-05/0.006421, allocations: 11.98 kB / 0.883 GB, free: 1.035 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.006424, allocations: 0 / 0.883 GB, free: 1.035 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.205e-05/0.006446, allocations: 0 / 0.883 GB, free: 1.035 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.006454, allocations: 8.031 kB / 0.883 GB, free: 1.027 MB / 0.7917 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 9.075e-05/0.006545, allocations: 152.6 kB / 0.8831 GB, free: 0.8672 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.06e-05/0.006565, allocations: 7.922 kB / 0.8831 GB, free: 0.8594 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002343/0.006799, allocations: 15.3 kB / 0.8832 GB, free: 0.8438 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.006801, allocations: 0 / 0.8832 GB, free: 0.8438 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.006804, allocations: 0 / 0.8832 GB, free: 0.8438 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.006807, allocations: 0 / 0.8832 GB, free: 0.8438 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.006922, allocations: 101.2 kB / 0.8833 GB, free: 0.7188 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.006925, allocations: 4 kB / 0.8833 GB, free: 0.7148 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.982e-05/0.006965, allocations: 7.984 kB / 0.8833 GB, free: 0.707 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.006967, allocations: 4 kB / 0.8833 GB, free: 0.7031 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.749e-06/0.006972, allocations: 0 / 0.8833 GB, free: 0.7031 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.006975, allocations: 3.938 kB / 0.8833 GB, free: 0.6992 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.006977, allocations: 0 / 0.8833 GB, free: 0.6992 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.007106, allocations: 191.9 kB / 0.8835 GB, free: 0.4922 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 6.292e-06/0.007112, allocations: 0 / 0.8835 GB, free: 0.4922 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.837e-06/0.007121, allocations: 4 kB / 0.8835 GB, free: 500 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.508e-05/0.007156, allocations: 7.875 kB / 0.8835 GB, free: 492 kB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.007203, allocations: 7.984 kB / 0.8835 GB, free: 484 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.007205, allocations: 0 / 0.8835 GB, free: 484 kB / 0.7917 GB Notification: Performance of sorting global known variables: time 4.217e-05/0.007248, allocations: 135.2 kB / 0.8836 GB, free: 348 kB / 0.7917 GB Notification: Performance of sort global known variables: time 5e-08/0.007248, allocations: 0 / 0.8836 GB, free: 348 kB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0001433/0.007391, allocations: 4 kB / 0.8836 GB, free: 344 kB / 0.7917 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.0001333/0.007524, allocations: 95.25 kB / 0.8837 GB, free: 236 kB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 9.021e-05/0.007615, allocations: 15.69 kB / 0.8837 GB, free: 216 kB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.007617, allocations: 0 / 0.8837 GB, free: 216 kB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 2.51e-05/0.007642, allocations: 19.61 kB / 0.8837 GB, free: 192 kB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.007843, allocations: 14.38 kB / 0.8837 GB, free: 180 kB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002847/0.008128, allocations: 128.8 kB / 0.8839 GB, free: 24 kB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.857e-05/0.008187, allocations: 59.34 kB / 0.8839 GB, free: 15.95 MB / 0.8074 GB Notification: Performance of simCode: alias equations: time 2.22e-05/0.008209, allocations: 0 / 0.8839 GB, free: 15.95 MB / 0.8074 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.019e-05/0.008269, allocations: 78.2 kB / 0.884 GB, free: 15.87 MB / 0.8074 GB Notification: Performance of SimCode: time 8.31e-07/0.00827, allocations: 0 / 0.884 GB, free: 15.87 MB / 0.8074 GB Notification: Performance of Templates: time 0.002796/0.01107, allocations: 0.7264 MB / 0.8847 GB, free: 15.15 MB / 0.8074 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.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.663177493028343]