Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.000989/0.000989, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009776/0.0009776, allocations: 161 kB / 24.16 MB, free: 332 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.9493/0.9493, allocations: 177.1 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.894/1.894, allocations: 377.9 MB / 0.624 GB, free: 8.332 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.76 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.088e-05/2.25e-05, allocations: 5.266 kB / 0.76 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001243/0.001266, allocations: 0.5627 MB / 0.7606 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 4.134e-05/0.001307, allocations: 1.469 kB / 0.7606 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.211e-05/0.001329, allocations: 0.6562 kB / 0.7606 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.288e-05/0.001352, allocations: 0 / 0.7606 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.889e-05/0.001381, allocations: 3.938 kB / 0.7606 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 3.272e-05/0.001414, allocations: 0.8125 kB / 0.7606 GB, free: 6.051 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.444e-05/0.001468, allocations: 8.859 kB / 0.7606 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.692e-05/0.001505, allocations: 0.9688 kB / 0.7606 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.877e-05/0.001534, allocations: 4.656 kB / 0.7606 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.277e-05/0.001557, allocations: 3.984 kB / 0.7606 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.001572, allocations: 0.625 kB / 0.7606 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 3.166e-06/0.001576, allocations: 4 kB / 0.7606 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.169e-05/0.001587, allocations: 2.297 kB / 0.7606 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.165e-05/0.001599, allocations: 0 / 0.7606 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 4.961e-05/0.001649, allocations: 0 / 0.7606 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.00165, allocations: 2.062 kB / 0.7606 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.91e-07/0.001651, allocations: 0.6562 kB / 0.7606 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.001655, allocations: 0 / 0.7606 GB, free: 6.031 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002415/0.001896, allocations: 204.8 kB / 0.7608 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.001927, allocations: 12.03 kB / 0.7608 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.975e-05/0.001947, allocations: 7.109 kB / 0.7608 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.817e-05/0.002025, allocations: 109.8 kB / 0.7609 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.002035, allocations: 1.031 kB / 0.7609 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.002046, allocations: 4.359 kB / 0.7609 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.747e-05/0.002103, allocations: 30.27 kB / 0.761 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.002111, allocations: 5.719 kB / 0.761 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.969e-06/0.002116, allocations: 384 / 0.761 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/0.002122, allocations: 4.375 kB / 0.761 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.783e-06/0.002129, allocations: 4.812 kB / 0.761 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001715/0.0023, allocations: 288.1 kB / 0.7612 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.999e-05/0.00236, allocations: 165.1 kB / 0.7614 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.261e-05/0.002383, allocations: 88.11 kB / 0.7615 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.0024, allocations: 76.22 kB / 0.7616 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.002431, allocations: 105.8 kB / 0.7617 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.002432, allocations: 0 / 0.7617 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 4.268e-05/0.002475, allocations: 30.73 kB / 0.7617 GB, free: 4.824 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.002521, allocations: 135.3 kB / 0.7618 GB, free: 4.68 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.213e-05/0.002573, allocations: 95.41 kB / 0.7619 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.323e-06/0.00258, allocations: 27.48 kB / 0.7619 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.87e-05/0.002609, allocations: 84.14 kB / 0.762 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.11e-07/0.002609, allocations: 0.6562 kB / 0.762 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.749e-05/0.002627, allocations: 17.69 kB / 0.762 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.778e-05/0.002715, allocations: 310.8 kB / 0.7623 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.787e-06/0.002718, allocations: 4.844 kB / 0.7623 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.276e-06/0.002722, allocations: 4 kB / 0.7623 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.003e-05/0.002742, allocations: 75.28 kB / 0.7624 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.559e-05/0.002757, allocations: 79.45 kB / 0.7625 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.406e-05/0.002791, allocations: 25.7 kB / 0.7625 GB, free: 3.934 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.002816, allocations: 83.28 kB / 0.7626 GB, free: 3.852 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.077e-05/0.002837, allocations: 79.22 kB / 0.7627 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.832e-05/0.002875, allocations: 154.6 kB / 0.7628 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.304e-05/0.002898, allocations: 83.33 kB / 0.7629 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.358e-05/0.002932, allocations: 158.5 kB / 0.763 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.053e-05/0.002972, allocations: 80.41 kB / 0.7631 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/0.002996, allocations: 87.25 kB / 0.7632 GB, free: 3.219 MB / 0.7136 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 (0): * Single equations (assignments): 0 * 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.975e-05/0.003076, allocations: 257.3 kB / 0.7635 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.52e-05/0.003111, allocations: 105 kB / 0.7636 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.321e-05/0.003144, allocations: 104 kB / 0.7637 GB, free: 2.738 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.544e-05/0.00319, allocations: 185.1 kB / 0.7638 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.936e-05/0.003229, allocations: 185.4 kB / 0.764 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.811e-05/0.003267, allocations: 181 kB / 0.7642 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.003386, allocations: 317.5 kB / 0.7645 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.587e-05/0.003412, allocations: 109.7 kB / 0.7646 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.374e-05/0.003436, allocations: 104.9 kB / 0.7647 GB, free: 1.621 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.876e-05/0.003474, allocations: 180.9 kB / 0.7649 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.331e-05/0.003518, allocations: 184.2 kB / 0.765 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.77e-05/0.003555, allocations: 176.8 kB / 0.7652 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.218e-05/0.003608, allocations: 187.6 kB / 0.7654 GB, free: 0.8828 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.148e-05/0.003699, allocations: 307.8 kB / 0.7657 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.841e-05/0.003727, allocations: 104.9 kB / 0.7658 GB, free: 460 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.373e-05/0.003771, allocations: 185 kB / 0.766 GB, free: 268 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.393e-05/0.003815, allocations: 108.9 kB / 0.7661 GB, free: 152 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.504e-05/0.00387, allocations: 176.3 kB / 0.7662 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.89e-05/0.003899, allocations: 105.3 kB / 0.7663 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.249e-05/0.003912, allocations: 8.797 kB / 0.7663 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.003912, allocations: 2.688 kB / 0.7663 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001265/0.004038, allocations: 0 / 0.7663 GB, free: 15.85 MB / 0.7292 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 (0): * Single equations (assignments): 0 * 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 8.932e-05/0.004127, allocations: 156.6 kB / 0.7665 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 2.659e-05/0.004154, allocations: 3.984 kB / 0.7665 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.004157, allocations: 8 kB / 0.7665 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.62e-07/0.004158, allocations: 48 / 0.7665 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000179/0.004337, allocations: 456.2 kB / 0.7669 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001402/0.004477, allocations: 160.8 kB / 0.7671 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.694e-05/0.004504, allocations: 51.36 kB / 0.7671 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.573e-06/0.004506, allocations: 0 / 0.7671 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.042e-05/0.004526, allocations: 48.47 kB / 0.7672 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of SimCode: time 3.41e-07/0.004526, allocations: 4.625 kB / 0.7672 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of Templates: time 0.001226/0.005753, allocations: 176.3 kB / 0.7674 GB, free: 14.75 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.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: 4.908287703990936]