Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.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.00133/0.00133, allocations: 77.09 kB / 20.66 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.001478/0.001478, allocations: 169 kB / 24.05 MB, free: 460 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.9853/0.9853, allocations: 177.1 MB / 204.5 MB, free: 5.527 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.073/2.073, allocations: 429.5 MB / 0.6743 GB, free: 3.926 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.Reals.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|addPar.u|addPar.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.053e-06/2.053e-06, allocations: 0.6562 kB / 0.8795 GB, free: 5.934 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.015e-05/2.22e-05, allocations: 2.312 kB / 0.8795 GB, free: 5.93 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter): time 0.001324/0.001346, allocations: 0.6876 MB / 0.8801 GB, free: 5.27 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.000767/0.002113, allocations: 0.838 MB / 0.881 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.444e-05/0.002147, allocations: 0.9062 kB / 0.881 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.548e-05/0.002173, allocations: 3.938 kB / 0.881 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.186e-05/0.002235, allocations: 2.609 kB / 0.881 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 5.215e-05/0.002287, allocations: 4 kB / 0.881 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.823e-05/0.002345, allocations: 30.11 kB / 0.881 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 7.952e-05/0.002425, allocations: 5.016 kB / 0.881 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.436e-05/0.002489, allocations: 19.92 kB / 0.881 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.955e-05/0.002519, allocations: 11.92 kB / 0.881 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.002533, allocations: 5.125 kB / 0.881 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.499e-06/0.002538, allocations: 0 / 0.881 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.482e-05/0.002553, allocations: 4 kB / 0.881 GB, free: 4.344 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.656e-05/0.002569, allocations: 9.109 kB / 0.8811 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 6.08e-05/0.00263, allocations: 15.92 kB / 0.8811 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.002632, allocations: 0 / 0.8811 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.41e-07/0.002633, allocations: 1.031 kB / 0.8811 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.002637, allocations: 0 / 0.8811 GB, free: 4.32 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002816/0.002918, allocations: 364.6 kB / 0.8814 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.002949, allocations: 12.81 kB / 0.8814 GB, free: 3.914 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.191e-05/0.002971, allocations: 4.891 kB / 0.8814 GB, free: 3.91 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.193e-05/0.003043, allocations: 114.2 kB / 0.8815 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.003052, allocations: 384 / 0.8815 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.38e-06/0.003057, allocations: 384 / 0.8815 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.435e-05/0.003142, allocations: 54.95 kB / 0.8816 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.61e-06/0.003147, allocations: 1.812 kB / 0.8816 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-06/0.003153, allocations: 4.312 kB / 0.8816 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.003157, allocations: 384 / 0.8816 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.871e-05/0.003176, allocations: 7.938 kB / 0.8816 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001917/0.003368, allocations: 225.5 kB / 0.8818 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.329e-05/0.003411, allocations: 35.08 kB / 0.8819 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.668e-05/0.003428, allocations: 12.84 kB / 0.8819 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.26e-06/0.003433, allocations: 0 / 0.8819 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.003452, allocations: 41.33 kB / 0.8819 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.003453, allocations: 1.594 kB / 0.8819 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001014/0.003554, allocations: 41.64 kB / 0.8819 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.003582, allocations: 51.41 kB / 0.882 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.535e-05/0.003647, allocations: 165 kB / 0.8822 GB, free: 3.055 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.003658, allocations: 25.7 kB / 0.8822 GB, free: 3.023 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.517e-05/0.003703, allocations: 138.8 kB / 0.8823 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.481e-05/0.003718, allocations: 3.953 kB / 0.8823 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-05/0.003744, allocations: 27.36 kB / 0.8823 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.003851, allocations: 492.1 kB / 0.8828 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.528e-06/0.00386, allocations: 0 / 0.8828 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.033e-05/0.00387, allocations: 7.938 kB / 0.8828 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.068e-05/0.003891, allocations: 13.09 kB / 0.8828 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.003893, allocations: 0 / 0.8828 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.749e-05/0.00394, allocations: 38.22 kB / 0.8829 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.003951, allocations: 4 kB / 0.8829 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.003955, allocations: 1.031 kB / 0.8829 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.294e-06/0.003962, allocations: 7.875 kB / 0.8829 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.024e-05/0.004012, allocations: 4.5 kB / 0.8829 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.993e-06/0.004014, allocations: 0 / 0.8829 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.684e-05/0.004031, allocations: 12.22 kB / 0.8829 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.635e-06/0.004034, allocations: 0 / 0.8829 GB, free: 2.258 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 (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 6.068e-05/0.004094, allocations: 168.5 kB / 0.8831 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.383e-05/0.004108, allocations: 0 / 0.8831 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.496e-05/0.004123, allocations: 3.312 kB / 0.8831 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.004125, allocations: 3.938 kB / 0.8831 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.315e-06/0.004127, allocations: 4 kB / 0.8831 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.175e-06/0.004129, allocations: 0 / 0.8831 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.507e-05/0.004215, allocations: 105.2 kB / 0.8832 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.004216, allocations: 0 / 0.8832 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.662e-05/0.004232, allocations: 8 kB / 0.8832 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.004234, allocations: 3.984 kB / 0.8832 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.266e-06/0.004237, allocations: 0 / 0.8832 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.11e-07/0.004238, allocations: 0 / 0.8832 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.004239, allocations: 0 / 0.8832 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.737e-05/0.004326, allocations: 191.8 kB / 0.8834 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.002e-06/0.004332, allocations: 0 / 0.8834 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.831e-06/0.004338, allocations: 0 / 0.8834 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.874e-05/0.004366, allocations: 4 kB / 0.8834 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.585e-05/0.004392, allocations: 11.92 kB / 0.8834 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.004395, allocations: 7.969 kB / 0.8834 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.212e-05/0.004427, allocations: 127.4 kB / 0.8835 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.004427, allocations: 0 / 0.8835 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001319/0.004559, allocations: 4 kB / 0.8835 GB, free: 1.57 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 (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.0002902/0.004849, allocations: 95.25 kB / 0.8836 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.432e-05/0.004903, allocations: 15.67 kB / 0.8836 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.004905, allocations: 0 / 0.8836 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.398e-05/0.004919, allocations: 11.69 kB / 0.8836 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001733/0.005092, allocations: 9.156 kB / 0.8836 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001861/0.005278, allocations: 114.4 kB / 0.8837 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.835e-05/0.005307, allocations: 55.3 kB / 0.8838 GB, free: 1.211 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.565e-05/0.005322, allocations: 3.984 kB / 0.8838 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.784e-05/0.00536, allocations: 70.2 kB / 0.8839 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of SimCode: time 5.41e-07/0.005361, allocations: 3.938 kB / 0.8839 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of Templates: time 0.002523/0.007884, allocations: 0.5352 MB / 0.8844 GB, free: 0.6094 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.AddParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_AddParameter.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.458119621966034]