Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.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.001964/0.001964, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.002532/0.002532, allocations: 167.7 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.618/1.618, allocations: 177.1 MB / 202.8 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.913/2.913, allocations: 377.8 MB / 0.6221 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.935e-06/2.935e-06, allocations: 0 / 0.9815 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.635e-05/3.928e-05, allocations: 5.516 kB / 0.9815 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.002651/0.00269, allocations: 0.6951 MB / 0.9822 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001542/0.004232, allocations: 0.8276 MB / 0.983 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.249e-05/0.004274, allocations: 0 / 0.983 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.811e-05/0.004312, allocations: 3.938 kB / 0.983 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.943e-05/0.004412, allocations: 23.86 kB / 0.983 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 8.046e-05/0.004492, allocations: 7.984 kB / 0.983 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000124/0.004616, allocations: 39.91 kB / 0.9831 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.004739, allocations: 11.94 kB / 0.9831 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.004845, allocations: 19.98 kB / 0.9831 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.05e-05/0.004915, allocations: 15.97 kB / 0.9831 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.563e-05/0.004941, allocations: 4 kB / 0.9831 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.423e-05/0.004955, allocations: 4 kB / 0.9831 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.746e-05/0.004982, allocations: 7.938 kB / 0.9831 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.078e-05/0.005023, allocations: 19.97 kB / 0.9831 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.005201, allocations: 39.88 kB / 0.9832 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.005204, allocations: 3.938 kB / 0.9832 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.193e-06/0.005206, allocations: 4 kB / 0.9832 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.00521, allocations: 0 / 0.9832 GB, free: 10.12 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006862/0.005896, allocations: 294.1 kB / 0.9835 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.005941, allocations: 8.031 kB / 0.9835 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.708e-05/0.005988, allocations: 8.891 kB / 0.9835 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.006122, allocations: 101.8 kB / 0.9836 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.006137, allocations: 8.375 kB / 0.9836 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.006151, allocations: 384 / 0.9836 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003609/0.006511, allocations: 70.16 kB / 0.9836 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.006524, allocations: 8.172 kB / 0.9837 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.006539, allocations: 4.375 kB / 0.9837 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.006544, allocations: 384 / 0.9837 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000451/0.006995, allocations: 71.86 kB / 0.9837 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004766/0.007471, allocations: 204.6 kB / 0.9839 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003242/0.007796, allocations: 58.47 kB / 0.984 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002428/0.008038, allocations: 44.91 kB / 0.984 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.008054, allocations: 0 / 0.984 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.167e-05/0.008096, allocations: 30.56 kB / 0.984 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.513e-06/0.008097, allocations: 0 / 0.984 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.0008162/0.008913, allocations: 133.5 kB / 0.9842 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.059e-05/0.008974, allocations: 55.39 kB / 0.9842 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.009113, allocations: 113.8 kB / 0.9843 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.009144, allocations: 25.7 kB / 0.9844 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.941e-05/0.009223, allocations: 92.12 kB / 0.9844 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.692e-05/0.00926, allocations: 15.84 kB / 0.9845 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.311e-05/0.009323, allocations: 21.66 kB / 0.9845 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002331/0.009556, allocations: 314.8 kB / 0.9848 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002581/0.009815, allocations: 27.97 kB / 0.9848 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/0.01005, allocations: 31.97 kB / 0.9848 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004358/0.01048, allocations: 68.78 kB / 0.9849 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.01049, allocations: 0 / 0.9849 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004959/0.01098, allocations: 93.62 kB / 0.985 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.01101, allocations: 14.28 kB / 0.985 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.01101, allocations: 3.938 kB / 0.985 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.01103, allocations: 3.984 kB / 0.985 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/0.01122, allocations: 19.98 kB / 0.985 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.01122, allocations: 0 / 0.985 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.01135, allocations: 7.984 kB / 0.985 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.01136, allocations: 4 kB / 0.985 GB, free: 8.031 MB / 0.9356 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 (3): * Single equations (assignments): 3 * 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 0.000132/0.01149, allocations: 109.8 kB / 0.9852 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.267e-05/0.01153, allocations: 7.953 kB / 0.9852 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.798e-05/0.01157, allocations: 19.86 kB / 0.9852 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.01157, allocations: 0 / 0.9852 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.01158, allocations: 0 / 0.9852 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.01158, allocations: 4 kB / 0.9852 GB, free: 7.883 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/0.0118, allocations: 109.3 kB / 0.9853 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.01181, allocations: 0 / 0.9853 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.01195, allocations: 15.98 kB / 0.9853 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.01195, allocations: 336 / 0.9853 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.01196, allocations: 0 / 0.9853 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.01196, allocations: 3.938 kB / 0.9853 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01197, allocations: 0 / 0.9853 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005877/0.01255, allocations: 211.3 kB / 0.9855 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.479e-05/0.01257, allocations: 4 kB / 0.9855 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.01259, allocations: 0 / 0.9855 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.01276, allocations: 19.92 kB / 0.9855 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.486e-05/0.01282, allocations: 7.984 kB / 0.9855 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.01282, allocations: 0 / 0.9855 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.2e-05/0.0129, allocations: 83.28 kB / 0.9856 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.0129, allocations: 0 / 0.9856 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003784/0.01327, allocations: 8 kB / 0.9856 GB, free: 7.383 MB / 0.9356 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 (3): * Single equations (assignments): 3 * 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.0001776/0.01345, allocations: 103.7 kB / 0.9857 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004992/0.01395, allocations: 67.92 kB / 0.9858 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.01395, allocations: 0 / 0.9858 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002387/0.01419, allocations: 39.91 kB / 0.9858 GB, free: 7.164 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005063/0.0147, allocations: 8 kB / 0.9858 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004807/0.01518, allocations: 134.1 kB / 0.986 GB, free: 7 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.318e-05/0.01527, allocations: 63.34 kB / 0.986 GB, free: 6.918 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.214e-05/0.01531, allocations: 0 / 0.986 GB, free: 6.918 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.621e-05/0.01536, allocations: 8.5 kB / 0.986 GB, free: 6.91 MB / 0.9356 GB Notification: Performance of SimCode: time 5.91e-07/0.01536, allocations: 0 / 0.986 GB, free: 6.91 MB / 0.9356 GB Notification: Performance of Templates: time 0.004866/0.02023, allocations: 0.7289 MB / 0.9867 GB, free: 6.191 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.381973057985306]