Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 92.08 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 180.9 kB / 16.92 MB, free: 6.652 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.382/1.382, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.666/2.666, allocations: 437.8 MB / 0.7128 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000398/0.0003982, allocations: 12 kB / 0.8735 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6743/0.6747, allocations: 153.8 MB / 1.024 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Add): time 0.0009208/0.6757, allocations: 446.1 kB / 1.024 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.000995/0.6767, allocations: 0.804 MB / 1.025 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.825e-05/0.6767, allocations: 0 / 1.025 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.721e-05/0.6768, allocations: 0 / 1.025 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.133e-05/0.6769, allocations: 3.938 kB / 1.025 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 7.628e-05/0.677, allocations: 11.98 kB / 1.025 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.784e-05/0.677, allocations: 43.8 kB / 1.025 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.6772, allocations: 11.98 kB / 1.025 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.274e-05/0.6772, allocations: 8 kB / 1.025 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.41e-05/0.6773, allocations: 31.89 kB / 1.025 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.6773, allocations: 0 / 1.025 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.127e-06/0.6773, allocations: 7.938 kB / 1.025 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.412e-05/0.6773, allocations: 3.938 kB / 1.025 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.202e-05/0.6774, allocations: 41.62 kB / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.272e-05/0.6775, allocations: 27.94 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.6775, allocations: 0 / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6775, allocations: 0 / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.6775, allocations: 0 / 1.025 GB, free: 14.38 MB / 0.7794 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.0005058/0.678, allocations: 373.3 kB / 1.025 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.678, allocations: 11.98 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/0.6781, allocations: 8.844 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.6782, allocations: 168.3 kB / 1.026 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.6782, allocations: 4.375 kB / 1.026 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.6783, allocations: 4.312 kB / 1.026 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000263/0.6785, allocations: 82.22 kB / 1.026 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.6785, allocations: 192 / 1.026 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.6786, allocations: 7.938 kB / 1.026 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.6786, allocations: 0 / 1.026 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003334/0.6789, allocations: 87.92 kB / 1.026 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003662/0.6793, allocations: 269 kB / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.6795, allocations: 70.41 kB / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.6797, allocations: 56.91 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.6797, allocations: 0 / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.6798, allocations: 34.56 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.283e-06/0.6798, allocations: 0 / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005834/0.6803, allocations: 161.6 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.6804, allocations: 55.34 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.477e-05/0.6805, allocations: 117.8 kB / 1.027 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.6805, allocations: 25.7 kB / 1.027 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.489e-05/0.6806, allocations: 88.05 kB / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/0.6806, allocations: 15.84 kB / 1.027 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.386e-05/0.6806, allocations: 9.719 kB / 1.027 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.6807, allocations: 314.8 kB / 1.027 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/0.6809, allocations: 39.97 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.6811, allocations: 47.95 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003045/0.6814, allocations: 84.8 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.6814, allocations: 3.938 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003654/0.6818, allocations: 125.5 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.6818, allocations: 6.188 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.6818, allocations: 0 / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.6819, allocations: 4 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.682, allocations: 23.98 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.682, allocations: 4 kB / 1.027 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.318e-05/0.6821, allocations: 15.89 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.6821, allocations: 12.19 kB / 1.027 GB, free: 11.88 MB / 0.7794 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.752e-05/0.6822, allocations: 117.8 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.6822, allocations: 4 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.734e-05/0.6823, allocations: 7.906 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.6823, allocations: 0 / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/0.6823, allocations: 0 / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.6823, allocations: 0 / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.6825, allocations: 169.6 kB / 1.028 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.6825, allocations: 0 / 1.028 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.6826, allocations: 27.97 kB / 1.028 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.6826, allocations: 0 / 1.028 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.6826, allocations: 0 / 1.028 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.6826, allocations: 4 kB / 1.028 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6826, allocations: 0 / 1.028 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004191/0.6831, allocations: 223.6 kB / 1.028 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.888e-05/0.6831, allocations: 77.11 kB / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.6831, allocations: 3.984 kB / 1.028 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.6833, allocations: 19.98 kB / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/0.6833, allocations: 8.031 kB / 1.028 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.6833, allocations: 0 / 1.028 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.933e-05/0.6834, allocations: 91.25 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.3e-07/0.6834, allocations: 0 / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002166/0.6836, allocations: 8 kB / 1.028 GB, free: 11.03 MB / 0.7794 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.0001341/0.6837, allocations: 107.2 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003683/0.6841, allocations: 91.86 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.6841, allocations: 4 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.6843, allocations: 47.95 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.6846, allocations: 7.938 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003672/0.685, allocations: 166.2 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.6853, allocations: 0.6809 MB / 1.029 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.228e-05/0.6853, allocations: 7.438 kB / 1.029 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of SimCode: time 3.2e-07/0.6853, allocations: 4 kB / 1.029 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of Templates: time 0.002115/0.6875, allocations: 0.7308 MB / 1.03 GB, free: 9.129 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches