Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 108 kB / 16.36 MB, free: 6.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001817/0.001817, allocations: 192.5 kB / 17.29 MB, free: 5.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.438/2.438, allocations: 442.6 MB / 0.7165 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 60.03 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2772, allocations: 153 MB / 1.027 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add): time 0.002061/0.2793, allocations: 0.7322 MB / 1.027 GB, free: 1.34 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008868/0.2802, allocations: 0.8001 MB / 1.028 GB, free: 0.5273 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.869e-05/0.2803, allocations: 0 / 1.028 GB, free: 0.5273 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.075e-05/0.2804, allocations: 3.938 kB / 1.028 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.903e-05/0.2804, allocations: 11.86 kB / 1.028 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.627e-05/0.2805, allocations: 15.98 kB / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.234e-05/0.2806, allocations: 43.86 kB / 1.028 GB, free: 464 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.2807, allocations: 15.98 kB / 1.028 GB, free: 448 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.457e-05/0.2808, allocations: 15.92 kB / 1.028 GB, free: 432 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.371e-05/0.2808, allocations: 27.86 kB / 1.028 GB, free: 404 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.2808, allocations: 4 kB / 1.028 GB, free: 400 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.787e-06/0.2808, allocations: 4 kB / 1.028 GB, free: 396 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.064e-05/0.2809, allocations: 11.92 kB / 1.028 GB, free: 384 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.867e-05/0.2809, allocations: 15.92 kB / 1.028 GB, free: 368 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.581e-05/0.281, allocations: 55.73 kB / 1.028 GB, free: 312 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.281, allocations: 0 / 1.028 GB, free: 312 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.633e-06/0.281, allocations: 0 / 1.028 GB, free: 312 kB / 0.795 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.281, allocations: 0 / 1.028 GB, free: 312 kB / 0.795 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.0005285/0.2816, allocations: 367.4 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.2816, allocations: 8.031 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.074e-05/0.2816, allocations: 8.844 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.2818, allocations: 168.2 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.2818, allocations: 8.375 kB / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.336e-05/0.2818, allocations: 4.375 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002342/0.282, allocations: 74.14 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.282, allocations: 8.172 kB / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.2821, allocations: 3.938 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.2821, allocations: 0 / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002692/0.2823, allocations: 67.92 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003472/0.2827, allocations: 265 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.2829, allocations: 58.48 kB / 1.029 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.283, allocations: 44.84 kB / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.2831, allocations: 0 / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.2831, allocations: 34.56 kB / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.2831, allocations: 0 / 1.03 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005057/0.2836, allocations: 133.5 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.2837, allocations: 51.41 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.782e-05/0.2838, allocations: 113.8 kB / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.2838, allocations: 25.7 kB / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.786e-05/0.2838, allocations: 88.14 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.948e-05/0.2839, allocations: 11.78 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.823e-05/0.2839, allocations: 21.7 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.96e-05/0.284, allocations: 315.2 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.2842, allocations: 31.97 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001241/0.2843, allocations: 31.95 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002458/0.2845, allocations: 80.66 kB / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2845, allocations: 3.938 kB / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000288/0.2848, allocations: 101.5 kB / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.2849, allocations: 4 kB / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2849, allocations: 4 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.2849, allocations: 4 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.285, allocations: 15.92 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.285, allocations: 4 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.311e-05/0.2851, allocations: 15.97 kB / 1.031 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.2851, allocations: 0 / 1.031 GB, free: 13.95 MB / 0.8106 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 8.07e-05/0.2852, allocations: 121.7 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.382e-05/0.2852, allocations: 0 / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.429e-05/0.2853, allocations: 7.906 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2853, allocations: 0 / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.2853, allocations: 0 / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.2853, allocations: 4 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001696/0.2855, allocations: 177.6 kB / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2855, allocations: 0 / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.517e-05/0.2856, allocations: 19.98 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.2856, allocations: 0 / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.2856, allocations: 0 / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.2856, allocations: 3.984 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.2856, allocations: 336 / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003362/0.2859, allocations: 211.2 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.656e-05/0.286, allocations: 81.02 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.286, allocations: 4 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.2861, allocations: 11.98 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.2862, allocations: 3.984 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.2862, allocations: 8 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.143e-05/0.2862, allocations: 87.28 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.2862, allocations: 0 / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002231/0.2865, allocations: 4 kB / 1.031 GB, free: 13.12 MB / 0.8106 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.0001059/0.2866, allocations: 99.23 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003112/0.2869, allocations: 75.92 kB / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2869, allocations: 288 / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001384/0.287, allocations: 39.91 kB / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.2873, allocations: 15.8 kB / 1.031 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003072/0.2876, allocations: 121.6 kB / 1.032 GB, free: 12.73 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002354/0.2879, allocations: 0.6885 MB / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.983e-05/0.2879, allocations: 3.859 kB / 1.032 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.63e-05/0.288, allocations: 11.44 kB / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.288, allocations: 0 / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of Templates: time 0.002644/0.2906, allocations: 0.6938 MB / 1.033 GB, free: 11.31 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches