Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001128/0.001129, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.344/1.344, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.311/2.311, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001455, allocations: 59.91 kB / 0.9516 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7766/0.7781, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant): time 0.00172/0.7799, allocations: 0.595 MB / 1.089 GB, free: 5.141 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 4.285e-05/0.7799, allocations: 5.547 kB / 1.089 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.063e-05/0.78, allocations: 0 / 1.089 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.191e-05/0.78, allocations: 1.031 kB / 1.089 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.964e-05/0.78, allocations: 0 / 1.089 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.199e-05/0.7801, allocations: 0 / 1.089 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.285e-05/0.7801, allocations: 6.516 kB / 1.089 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.217e-05/0.7802, allocations: 1.734 kB / 1.089 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.573e-05/0.7802, allocations: 4.969 kB / 1.089 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 1.734e-05/0.7803, allocations: 0.5156 kB / 1.089 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.7803, allocations: 0.9688 kB / 1.089 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.108e-06/0.7803, allocations: 3.938 kB / 1.089 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.194e-05/0.7803, allocations: 0 / 1.089 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.028e-05/0.7803, allocations: 5.219 kB / 1.089 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 5.929e-05/0.7804, allocations: 2.234 kB / 1.089 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.7804, allocations: 0.6562 kB / 1.089 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.853e-06/0.7804, allocations: 1.125 kB / 1.089 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.7804, allocations: 0 / 1.089 GB, free: 5.121 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002379/0.7807, allocations: 313.2 kB / 1.09 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.7807, allocations: 9.594 kB / 1.09 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.541e-05/0.7807, allocations: 0.9375 kB / 1.09 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.894e-05/0.7808, allocations: 167.1 kB / 1.09 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.7808, allocations: 384 / 1.09 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.217e-06/0.7808, allocations: 1.438 kB / 1.09 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.406e-05/0.7809, allocations: 32.95 kB / 1.09 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.7809, allocations: 192 / 1.09 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.7809, allocations: 3.938 kB / 1.09 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.7809, allocations: 5.062 kB / 1.09 GB, free: 4.527 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.596e-05/0.781, allocations: 6.047 kB / 1.09 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002002/0.7812, allocations: 377.6 kB / 1.09 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.503e-05/0.7812, allocations: 174.4 kB / 1.09 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.716e-05/0.7813, allocations: 80.84 kB / 1.09 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.7813, allocations: 84.56 kB / 1.09 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.7813, allocations: 106.4 kB / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.7813, allocations: 1.375 kB / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 5.583e-05/0.7814, allocations: 26.45 kB / 1.091 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.7814, allocations: 132 kB / 1.091 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.326e-05/0.7815, allocations: 97.42 kB / 1.091 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.37e-06/0.7815, allocations: 27.39 kB / 1.091 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.226e-05/0.7815, allocations: 80.14 kB / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.463e-06/0.7815, allocations: 0 / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.634e-05/0.7815, allocations: 16.73 kB / 1.091 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.695e-05/0.7815, allocations: 311.6 kB / 1.091 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.929e-06/0.7816, allocations: 4 kB / 1.091 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.406e-06/0.7816, allocations: 5.281 kB / 1.091 GB, free: 2.926 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.091e-05/0.7816, allocations: 75.41 kB / 1.091 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/0.7816, allocations: 79.28 kB / 1.091 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.533e-05/0.7816, allocations: 33.61 kB / 1.091 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.7817, allocations: 80.81 kB / 1.091 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.7817, allocations: 76.98 kB / 1.092 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.846e-05/0.7817, allocations: 160.5 kB / 1.092 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.147e-06/0.7817, allocations: 76.25 kB / 1.092 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.935e-05/0.7818, allocations: 160.1 kB / 1.092 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.567e-05/0.7818, allocations: 75.89 kB / 1.092 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.7818, allocations: 81.2 kB / 1.092 GB, free: 2.051 MB / 0.8575 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 (0): * Single equations (assignments): 0 * 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.0001397/0.782, allocations: 263.1 kB / 1.092 GB, free: 17.79 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.669e-05/0.782, allocations: 106.7 kB / 1.092 GB, free: 17.68 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.082e-05/0.7821, allocations: 106.5 kB / 1.093 GB, free: 17.57 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.499e-05/0.7821, allocations: 186 kB / 1.093 GB, free: 17.38 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.251e-05/0.7822, allocations: 182.2 kB / 1.093 GB, free: 17.2 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.133e-05/0.7823, allocations: 178.5 kB / 1.093 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/0.7825, allocations: 404 kB / 1.093 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.147e-05/0.7825, allocations: 102.7 kB / 1.094 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.525e-05/0.7825, allocations: 114.2 kB / 1.094 GB, free: 16.34 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.011e-05/0.7826, allocations: 181.9 kB / 1.094 GB, free: 16.16 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.732e-05/0.7826, allocations: 178.5 kB / 1.094 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.417e-05/0.7827, allocations: 185.8 kB / 1.094 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.141e-05/0.7828, allocations: 182.2 kB / 1.094 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.7829, allocations: 317.8 kB / 1.095 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.738e-05/0.7829, allocations: 184.6 kB / 1.095 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.192e-05/0.783, allocations: 178.5 kB / 1.095 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.197e-05/0.7831, allocations: 105.6 kB / 1.095 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.998e-05/0.7832, allocations: 186.6 kB / 1.095 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.584e-05/0.7832, allocations: 106.1 kB / 1.095 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 3.464e-05/0.7832, allocations: 82.08 kB / 1.095 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7833, allocations: 0 / 1.095 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002423/0.7835, allocations: 0.6562 kB / 1.095 GB, free: 14.41 MB / 0.8731 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 (0): * Single equations (assignments): 0 * 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.0001478/0.7837, allocations: 176.5 kB / 1.096 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 4.067e-05/0.7837, allocations: 5.062 kB / 1.096 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.7837, allocations: 96 / 1.096 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.7837, allocations: 5.062 kB / 1.096 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.7841, allocations: 457.3 kB / 1.096 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001899/0.7843, allocations: 185.3 kB / 1.096 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002146/0.7845, allocations: 0.6709 MB / 1.097 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.63e-05/0.7845, allocations: 8.219 kB / 1.097 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of SimCode: time 3.01e-07/0.7845, allocations: 4 kB / 1.097 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of Templates: time 0.001557/0.7861, allocations: 318.5 kB / 1.097 GB, free: 12.87 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches