Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|add1.u1|add1.u2|add1.y",fileNamePrefix="Buildings_10_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_10_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.001593/0.001593, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001716/0.001716, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.477/1.477, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.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.419/2.419, allocations: 437.1 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 64.27 kB / 0.8707 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3471, allocations: 151.6 MB / 1.019 GB, free: 9.863 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add): time 0.002123/0.3493, allocations: 0.7211 MB / 1.02 GB, free: 9.141 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008674/0.3502, allocations: 0.8078 MB / 1.02 GB, free: 8.32 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.753e-05/0.3502, allocations: 0 / 1.02 GB, free: 8.32 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.221e-05/0.3503, allocations: 7.938 kB / 1.02 GB, free: 8.312 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.33e-05/0.3504, allocations: 3.938 kB / 1.02 GB, free: 8.309 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.738e-05/0.3504, allocations: 11.98 kB / 1.02 GB, free: 8.297 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.753e-05/0.3505, allocations: 55.78 kB / 1.02 GB, free: 8.242 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.3506, allocations: 7.938 kB / 1.02 GB, free: 8.234 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.065e-05/0.3507, allocations: 23.92 kB / 1.02 GB, free: 8.211 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.459e-05/0.3508, allocations: 19.91 kB / 1.02 GB, free: 8.191 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.3508, allocations: 8 kB / 1.02 GB, free: 8.184 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.009e-05/0.3508, allocations: 4 kB / 1.02 GB, free: 8.18 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.769e-05/0.3508, allocations: 4 kB / 1.02 GB, free: 8.176 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.454e-05/0.3509, allocations: 27.84 kB / 1.02 GB, free: 8.148 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.472e-05/0.3509, allocations: 47.8 kB / 1.021 GB, free: 8.102 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.351, allocations: 0 / 1.021 GB, free: 8.102 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.633e-06/0.351, allocations: 0 / 1.021 GB, free: 8.102 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.351, allocations: 0 / 1.021 GB, free: 8.102 MB / 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.0005143/0.3515, allocations: 371.3 kB / 1.021 GB, free: 7.688 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.3515, allocations: 12.03 kB / 1.021 GB, free: 7.676 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.116e-05/0.3516, allocations: 4.844 kB / 1.021 GB, free: 7.672 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.3517, allocations: 184.2 kB / 1.021 GB, free: 7.453 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.3517, allocations: 384 / 1.021 GB, free: 7.453 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.3518, allocations: 4.375 kB / 1.021 GB, free: 7.449 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.352, allocations: 66.22 kB / 1.021 GB, free: 7.379 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.352, allocations: 192 / 1.021 GB, free: 7.379 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.352, allocations: 11.92 kB / 1.021 GB, free: 7.367 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.352, allocations: 0 / 1.021 GB, free: 7.367 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000253/0.3523, allocations: 63.92 kB / 1.021 GB, free: 7.305 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003569/0.3527, allocations: 268.9 kB / 1.021 GB, free: 6.992 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.3528, allocations: 66.47 kB / 1.022 GB, free: 6.918 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001421/0.353, allocations: 36.92 kB / 1.022 GB, free: 6.879 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.353, allocations: 0 / 1.022 GB, free: 6.879 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.353, allocations: 34.56 kB / 1.022 GB, free: 6.836 MB / 0.795 GB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.353, allocations: 0 / 1.022 GB, free: 6.836 MB / 0.795 GB Notification: Performance of matching and sorting (n=3): time 0.0004748/0.3535, allocations: 141.4 kB / 1.022 GB, free: 6.691 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.3536, allocations: 51.41 kB / 1.022 GB, free: 6.629 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.906e-05/0.3537, allocations: 117.8 kB / 1.022 GB, free: 6.504 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.3537, allocations: 25.7 kB / 1.022 GB, free: 6.473 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.91e-05/0.3538, allocations: 88.12 kB / 1.022 GB, free: 6.383 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.3538, allocations: 19.83 kB / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/0.3538, allocations: 9.719 kB / 1.022 GB, free: 6.348 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.3539, allocations: 318.8 kB / 1.022 GB, free: 6.027 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.3541, allocations: 31.95 kB / 1.022 GB, free: 5.996 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.3542, allocations: 31.97 kB / 1.022 GB, free: 5.965 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002435/0.3545, allocations: 72.72 kB / 1.022 GB, free: 5.891 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3545, allocations: 0 / 1.022 GB, free: 5.891 MB / 0.795 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002848/0.3548, allocations: 105.5 kB / 1.023 GB, free: 5.781 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3548, allocations: 4 kB / 1.023 GB, free: 5.777 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3548, allocations: 7.938 kB / 1.023 GB, free: 5.77 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.3548, allocations: 0 / 1.023 GB, free: 5.77 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.355, allocations: 19.97 kB / 1.023 GB, free: 5.75 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.355, allocations: 0 / 1.023 GB, free: 5.75 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.498e-05/0.355, allocations: 15.98 kB / 1.023 GB, free: 5.734 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.3551, allocations: 0 / 1.023 GB, free: 5.734 MB / 0.795 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.224e-05/0.3551, allocations: 110.7 kB / 1.023 GB, free: 5.617 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.3552, allocations: 4 kB / 1.023 GB, free: 5.613 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.655e-05/0.3552, allocations: 15.89 kB / 1.023 GB, free: 5.594 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3552, allocations: 0 / 1.023 GB, free: 5.594 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3552, allocations: 4 kB / 1.023 GB, free: 5.59 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.3552, allocations: 0 / 1.023 GB, free: 5.59 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.3554, allocations: 169.6 kB / 1.023 GB, free: 5.375 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3554, allocations: 0 / 1.023 GB, free: 5.375 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.137e-05/0.3555, allocations: 15.97 kB / 1.023 GB, free: 5.359 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.3555, allocations: 7.938 kB / 1.023 GB, free: 5.352 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.3555, allocations: 0 / 1.023 GB, free: 5.352 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.3555, allocations: 8 kB / 1.023 GB, free: 5.344 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3555, allocations: 0 / 1.023 GB, free: 5.344 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000328/0.3559, allocations: 199.6 kB / 1.023 GB, free: 5.133 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.777e-05/0.3559, allocations: 81.11 kB / 1.023 GB, free: 5.035 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.3559, allocations: 3.984 kB / 1.023 GB, free: 5.031 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.3561, allocations: 15.98 kB / 1.023 GB, free: 5.016 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.3561, allocations: 4 kB / 1.023 GB, free: 5.012 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.3561, allocations: 0 / 1.023 GB, free: 5.012 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.875e-05/0.3562, allocations: 95.58 kB / 1.023 GB, free: 4.918 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/0.3562, allocations: 0 / 1.023 GB, free: 4.918 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002161/0.3564, allocations: 11.91 kB / 1.023 GB, free: 4.906 MB / 0.795 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.0001008/0.3565, allocations: 99.19 kB / 1.023 GB, free: 4.797 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003185/0.3568, allocations: 71.92 kB / 1.023 GB, free: 4.727 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3568, allocations: 0 / 1.023 GB, free: 4.727 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001371/0.357, allocations: 39.95 kB / 1.024 GB, free: 4.688 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.3573, allocations: 7.938 kB / 1.024 GB, free: 4.68 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003331/0.3576, allocations: 131.1 kB / 1.024 GB, free: 4.527 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.3579, allocations: 0.6807 MB / 1.024 GB, free: 3.82 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.019e-05/0.3579, allocations: 3.938 kB / 1.024 GB, free: 3.816 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.993e-05/0.358, allocations: 15.38 kB / 1.024 GB, free: 3.801 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.358, allocations: 0 / 1.024 GB, free: 3.801 MB / 0.795 GB Notification: Performance of Templates: time 0.002684/0.3606, allocations: 0.6879 MB / 1.025 GB, free: 3.121 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.makefile (rm -f Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.sim & ./Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Add.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Add.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches