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.0009833/0.0009833, allocations: 93.06 kB / 19.65 MB, free: 276 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.001069/0.001069, allocations: 165 kB / 23.02 MB, free: 1.547 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 0.9802/0.9802, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.144/2.144, allocations: 429.5 MB / 0.6732 GB, free: 4.012 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 1.893e-06/1.893e-06, allocations: 0 / 0.8782 GB, free: 6.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.324e-05/2.514e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.266 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.004608/0.004633, allocations: 0.6814 MB / 0.8788 GB, free: 5.605 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009423/0.005575, allocations: 0.871 MB / 0.8797 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.381e-05/0.005619, allocations: 2.641 kB / 0.8797 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 9.207e-05/0.005711, allocations: 4 kB / 0.8797 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.838e-05/0.005739, allocations: 9.344 kB / 0.8797 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001545/0.005894, allocations: 15.98 kB / 0.8797 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.685e-05/0.005971, allocations: 35.41 kB / 0.8798 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.693e-05/0.006058, allocations: 14.59 kB / 0.8798 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.89e-05/0.006117, allocations: 15.98 kB / 0.8798 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.315e-05/0.00617, allocations: 11.98 kB / 0.8798 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.006189, allocations: 4 kB / 0.8798 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.097e-05/0.0062, allocations: 7.938 kB / 0.8798 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.337e-05/0.006254, allocations: 15.91 kB / 0.8798 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.943e-05/0.006283, allocations: 8 kB / 0.8798 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 8.821e-05/0.006371, allocations: 32.61 kB / 0.8799 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.006374, allocations: 0 / 0.8799 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.31e-07/0.006374, allocations: 1.656 kB / 0.8799 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.838e-06/0.006378, allocations: 0 / 0.8799 GB, free: 4.559 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003775/0.006756, allocations: 368.6 kB / 0.8802 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.006796, allocations: 8.031 kB / 0.8802 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.888e-05/0.006835, allocations: 13.39 kB / 0.8802 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.006963, allocations: 114 kB / 0.8803 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.006982, allocations: 4.375 kB / 0.8803 GB, free: 4 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.006997, allocations: 4.375 kB / 0.8804 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.007146, allocations: 68.47 kB / 0.8804 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.007155, allocations: 192 / 0.8804 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.007164, allocations: 384 / 0.8804 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002019/0.009183, allocations: 4.375 kB / 0.8804 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.622e-05/0.009239, allocations: 15.94 kB / 0.8804 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003538/0.009593, allocations: 271.7 kB / 0.8807 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.43e-05/0.009657, allocations: 35 kB / 0.8807 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.803e-05/0.009686, allocations: 15.73 kB / 0.8807 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.009704, allocations: 3.938 kB / 0.8807 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.009732, allocations: 41.39 kB / 0.8808 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.343e-06/0.009733, allocations: 0 / 0.8808 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001625/0.009896, allocations: 49.58 kB / 0.8808 GB, free: 3.426 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.009927, allocations: 51.53 kB / 0.8809 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.337e-05/0.01001, allocations: 169.9 kB / 0.881 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.01002, allocations: 25.7 kB / 0.8811 GB, free: 3.148 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.324e-05/0.01007, allocations: 134.9 kB / 0.8812 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.561e-05/0.01009, allocations: 7.953 kB / 0.8812 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.629e-05/0.01013, allocations: 19.38 kB / 0.8812 GB, free: 2.977 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.01028, allocations: 0.4884 MB / 0.8817 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.998e-05/0.0103, allocations: 3.984 kB / 0.8817 GB, free: 2.473 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.338e-05/0.01031, allocations: 4 kB / 0.8817 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.942e-05/0.01035, allocations: 11.69 kB / 0.8817 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.01035, allocations: 4.062 kB / 0.8817 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.906e-05/0.01043, allocations: 53.56 kB / 0.8818 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.01045, allocations: 4 kB / 0.8818 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.01045, allocations: 0 / 0.8818 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.01047, allocations: 3.984 kB / 0.8818 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.294e-05/0.01055, allocations: 4 kB / 0.8818 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.01056, allocations: 4 kB / 0.8818 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.365e-05/0.01058, allocations: 0 / 0.8818 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.01059, allocations: 3.984 kB / 0.8818 GB, free: 2.371 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: 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 8.067e-05/0.01067, allocations: 160.6 kB / 0.8819 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.428e-05/0.01069, allocations: 7.891 kB / 0.882 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.931e-05/0.01072, allocations: 11.31 kB / 0.882 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.01072, allocations: 0 / 0.882 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.01073, allocations: 0 / 0.882 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.01073, allocations: 0 / 0.882 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.01085, allocations: 124.7 kB / 0.8821 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.01086, allocations: 0 / 0.8821 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.174e-05/0.01089, allocations: 11.92 kB / 0.8821 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.01089, allocations: 3.938 kB / 0.8821 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.991e-06/0.0109, allocations: 4 kB / 0.8821 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.0109, allocations: 0 / 0.8821 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.0109, allocations: 0 / 0.8821 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.01102, allocations: 191.9 kB / 0.8823 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.047e-06/0.01103, allocations: 4 kB / 0.8823 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.01104, allocations: 3.938 kB / 0.8823 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.984e-05/0.01109, allocations: 256 / 0.8823 GB, free: 1.793 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.756e-05/0.01114, allocations: 11.98 kB / 0.8823 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.01115, allocations: 4 kB / 0.8823 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.008e-05/0.01124, allocations: 123.2 kB / 0.8824 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.01124, allocations: 4.031 kB / 0.8824 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002248/0.01146, allocations: 11.95 kB / 0.8824 GB, free: 1.641 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: 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 9.488e-05/0.01156, allocations: 99.23 kB / 0.8825 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.554e-05/0.01163, allocations: 19.62 kB / 0.8826 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.01163, allocations: 0 / 0.8826 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.325e-05/0.01166, allocations: 19.67 kB / 0.8826 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001742/0.01183, allocations: 7.938 kB / 0.8826 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002598/0.01209, allocations: 130.4 kB / 0.8827 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.4e-05/0.01212, allocations: 59.34 kB / 0.8828 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.036e-05/0.01214, allocations: 0 / 0.8828 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.06e-05/0.01217, allocations: 12.5 kB / 0.8828 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of SimCode: time 8.41e-07/0.01217, allocations: 0 / 0.8828 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of Templates: time 0.002149/0.01432, allocations: 0.6646 MB / 0.8834 GB, free: 0.5781 MB / 0.8386 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.547919312957674]