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.001194/0.001194, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.001116/0.001116, allocations: 173 kB / 23.49 MB, free: 1.055 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.9785/0.9785, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.215/2.215, allocations: 429.5 MB / 0.6736 GB, free: 4.039 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 2.755e-06/2.755e-06, allocations: 1.094 kB / 0.8782 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.808e-05/3.084e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001527/0.001558, allocations: 0.6872 MB / 0.8788 GB, free: 5.992 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00092/0.002478, allocations: 0.8744 MB / 0.8797 GB, free: 5.109 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.931e-05/0.002527, allocations: 0 / 0.8797 GB, free: 5.109 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 9.613e-05/0.002623, allocations: 4.594 kB / 0.8797 GB, free: 5.105 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.266e-05/0.002646, allocations: 1.969 kB / 0.8797 GB, free: 5.105 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001635/0.002809, allocations: 27.91 kB / 0.8797 GB, free: 5.078 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.846e-05/0.002898, allocations: 28.91 kB / 0.8798 GB, free: 5.051 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.711e-05/0.002995, allocations: 11.94 kB / 0.8798 GB, free: 5.039 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.25e-05/0.003057, allocations: 19.91 kB / 0.8798 GB, free: 5.02 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.778e-05/0.003125, allocations: 16.58 kB / 0.8798 GB, free: 5.004 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.404e-05/0.003149, allocations: 0 / 0.8798 GB, free: 5.004 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.201e-05/0.003161, allocations: 5.375 kB / 0.8798 GB, free: 5 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.532e-05/0.003217, allocations: 11.98 kB / 0.8798 GB, free: 4.988 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.457e-05/0.003251, allocations: 15.92 kB / 0.8798 GB, free: 4.973 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.003354, allocations: 19.97 kB / 0.8799 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.003359, allocations: 5.219 kB / 0.8799 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.302e-06/0.00336, allocations: 0 / 0.8799 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.003364, allocations: 0 / 0.8799 GB, free: 4.949 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.0003622/0.003726, allocations: 369.5 kB / 0.8802 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.003764, allocations: 15.97 kB / 0.8802 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.399e-05/0.003808, allocations: 14.42 kB / 0.8802 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.003945, allocations: 112.6 kB / 0.8804 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.003963, allocations: 384 / 0.8804 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.003974, allocations: 8.375 kB / 0.8804 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.004112, allocations: 64.25 kB / 0.8804 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.861e-06/0.004118, allocations: 192 / 0.8804 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.004127, allocations: 384 / 0.8804 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.004133, allocations: 384 / 0.8804 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.098e-05/0.004174, allocations: 23.86 kB / 0.8804 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002864/0.004461, allocations: 271.7 kB / 0.8807 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.981e-05/0.00452, allocations: 39.05 kB / 0.8807 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.208e-05/0.004543, allocations: 11.75 kB / 0.8808 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.004556, allocations: 3.938 kB / 0.8808 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.004577, allocations: 37.33 kB / 0.8808 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.004578, allocations: 0 / 0.8808 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001471/0.004725, allocations: 49.77 kB / 0.8808 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.004753, allocations: 55.44 kB / 0.8809 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.116e-05/0.004834, allocations: 173.9 kB / 0.8811 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.004844, allocations: 25.7 kB / 0.8811 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/0.004889, allocations: 130.9 kB / 0.8812 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.466e-05/0.004904, allocations: 7.953 kB / 0.8812 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.862e-05/0.004932, allocations: 19.38 kB / 0.8812 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.005033, allocations: 0.4884 MB / 0.8817 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.977e-05/0.005052, allocations: 4 kB / 0.8817 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.178e-05/0.005064, allocations: 3.938 kB / 0.8817 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.073e-05/0.005095, allocations: 19.75 kB / 0.8817 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.005097, allocations: 3.938 kB / 0.8817 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.009e-05/0.005157, allocations: 45.62 kB / 0.8818 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.005173, allocations: 10.19 kB / 0.8818 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.005177, allocations: 0 / 0.8818 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.005188, allocations: 0 / 0.8818 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.118e-05/0.00526, allocations: 4 kB / 0.8818 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.005264, allocations: 0 / 0.8818 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.94e-05/0.005283, allocations: 7.984 kB / 0.8818 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-06/0.005287, allocations: 0 / 0.8818 GB, free: 2.754 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.219e-05/0.00537, allocations: 164.5 kB / 0.882 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.722e-05/0.005387, allocations: 7.891 kB / 0.882 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.161e-05/0.005408, allocations: 7.312 kB / 0.882 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.005411, allocations: 0 / 0.882 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.005415, allocations: 0 / 0.882 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.005418, allocations: 4 kB / 0.882 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.649e-05/0.005515, allocations: 116.6 kB / 0.8821 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.005516, allocations: 0 / 0.8821 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.021e-05/0.005546, allocations: 7.984 kB / 0.8821 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.00555, allocations: 7.938 kB / 0.8821 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.005558, allocations: 4 kB / 0.8821 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.005559, allocations: 0 / 0.8821 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.005561, allocations: 3.984 kB / 0.8821 GB, free: 2.391 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001076/0.005668, allocations: 187.9 kB / 0.8823 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.102e-06/0.005675, allocations: 0 / 0.8823 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.005689, allocations: 7.938 kB / 0.8823 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.885e-05/0.005748, allocations: 7.922 kB / 0.8823 GB, free: 2.172 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.273e-05/0.005801, allocations: 8 kB / 0.8823 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/0.005804, allocations: 0 / 0.8823 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.529e-05/0.005849, allocations: 131.5 kB / 0.8824 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1e-07/0.00585, allocations: 4 kB / 0.8824 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000178/0.006028, allocations: 7.953 kB / 0.8825 GB, free: 2.023 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 0.0001002/0.006128, allocations: 99.25 kB / 0.8825 GB, free: 1.918 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.104e-05/0.006219, allocations: 19.67 kB / 0.8826 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.00622, allocations: 0 / 0.8826 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.054e-05/0.006241, allocations: 11.69 kB / 0.8826 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000179/0.00642, allocations: 6.375 kB / 0.8826 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002769/0.006696, allocations: 145.2 kB / 0.8827 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.204e-05/0.006728, allocations: 55.36 kB / 0.8828 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.2e-05/0.006751, allocations: 4 kB / 0.8828 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.07e-05/0.006781, allocations: 12.5 kB / 0.8828 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of SimCode: time 6.81e-07/0.006782, allocations: 0 / 0.8828 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of Templates: time 0.002358/0.009139, allocations: 0.6598 MB / 0.8834 GB, free: 0.9609 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.618304383009672]