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.001558/0.001558, allocations: 106.1 kB / 16.36 MB, free: 5.824 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.001758/0.001758, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.514/2.514, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 60.28 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2987, allocations: 153 MB / 1.027 GB, free: 2.074 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add): time 0.002014/0.3007, allocations: 0.7401 MB / 1.027 GB, free: 1.34 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008228/0.3016, allocations: 0.8001 MB / 1.028 GB, free: 0.5273 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.738e-05/0.3016, allocations: 0 / 1.028 GB, free: 0.5273 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.063e-05/0.3016, allocations: 3.938 kB / 1.028 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.966e-05/0.3017, allocations: 11.91 kB / 1.028 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.798e-05/0.3018, allocations: 19.92 kB / 1.028 GB, free: 0.4922 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.407e-05/0.3019, allocations: 39.86 kB / 1.028 GB, free: 464 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.302, allocations: 19.98 kB / 1.028 GB, free: 444 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.66e-05/0.3021, allocations: 15.92 kB / 1.028 GB, free: 428 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.871e-05/0.3022, allocations: 23.92 kB / 1.028 GB, free: 404 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.3022, allocations: 4 kB / 1.028 GB, free: 400 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.062e-05/0.3022, allocations: 4 kB / 1.028 GB, free: 396 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.433e-05/0.3022, allocations: 11.92 kB / 1.028 GB, free: 384 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.362e-05/0.3023, allocations: 19.92 kB / 1.028 GB, free: 364 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.624e-05/0.3024, allocations: 43.8 kB / 1.028 GB, free: 320 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.3024, allocations: 0 / 1.028 GB, free: 320 kB / 0.795 GB Notification: Performance of FrontEnd: time 4.669e-06/0.3024, allocations: 4 kB / 1.028 GB, free: 316 kB / 0.795 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.3024, allocations: 3.938 kB / 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.0005249/0.3029, allocations: 372.6 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.303, allocations: 8.031 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.865e-05/0.303, allocations: 8.844 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.3031, allocations: 172.2 kB / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.3031, allocations: 4.375 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.283e-05/0.3032, allocations: 4.375 kB / 1.029 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/0.3034, allocations: 70.2 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.3034, allocations: 4.188 kB / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.3034, allocations: 3.938 kB / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.3035, allocations: 0 / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002702/0.3037, allocations: 67.86 kB / 1.029 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003515/0.3041, allocations: 269 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.3043, allocations: 58.48 kB / 1.029 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.3044, allocations: 36.91 kB / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.3045, allocations: 4 kB / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.3045, allocations: 34.56 kB / 1.03 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3045, allocations: 0 / 1.03 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0004928/0.305, allocations: 137.4 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.305, allocations: 55.41 kB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.491e-05/0.3051, allocations: 109.8 kB / 1.03 GB, free: 14.72 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.3051, allocations: 25.7 kB / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.22e-05/0.3052, allocations: 88.14 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.3052, allocations: 11.84 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.719e-05/0.3053, allocations: 17.7 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.3054, allocations: 314.8 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.3055, allocations: 35.97 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.3056, allocations: 35.89 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000247/0.3059, allocations: 76.94 kB / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3059, allocations: 0 / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003107/0.3062, allocations: 105.5 kB / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.3063, allocations: 4 kB / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3063, allocations: 0 / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.3063, allocations: 4 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001273/0.3064, allocations: 11.98 kB / 1.031 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.3064, allocations: 0 / 1.031 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.801e-05/0.3065, allocations: 20.34 kB / 1.031 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.3065, 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 7.638e-05/0.3066, allocations: 121.7 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.3066, allocations: 0 / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.924e-05/0.3067, allocations: 15.84 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3067, allocations: 3.938 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3067, allocations: 0 / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.3067, allocations: 0 / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.3069, allocations: 177.6 kB / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.3069, allocations: 8 kB / 1.031 GB, free: 13.57 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.435e-05/0.307, allocations: 15.98 kB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.307, allocations: 0 / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/0.307, allocations: 0 / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.307, allocations: 0 / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.307, allocations: 0 / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003292/0.3073, allocations: 207.3 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.64e-05/0.3074, allocations: 81.02 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.3074, allocations: 0 / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.3075, allocations: 11.98 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.3076, allocations: 3.984 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.3076, allocations: 4 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.283e-05/0.3077, allocations: 91.22 kB / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3077, allocations: 4 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002231/0.3079, allocations: 8 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.0001082/0.308, allocations: 99.23 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000313/0.3083, allocations: 67.92 kB / 1.031 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3083, allocations: 0 / 1.031 GB, free: 12.94 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.3085, allocations: 43.91 kB / 1.031 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.3088, allocations: 11.92 kB / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003237/0.3091, allocations: 121.5 kB / 1.032 GB, free: 12.74 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.3094, allocations: 0.6846 MB / 1.032 GB, free: 12.03 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.053e-05/0.3094, allocations: 7.859 kB / 1.032 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.512e-05/0.3095, allocations: 15.44 kB / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.3095, allocations: 288 / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of Templates: time 0.00276/0.3122, allocations: 0.6982 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 cvode -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