Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 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.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 103.5 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.001629/0.001629, allocations: 195.7 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.484/1.484, 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.461/2.461, allocations: 437.1 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.00133, allocations: 65.3 kB / 0.8707 GB, free: 1.398 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.302, allocations: 151.7 MB / 1.019 GB, free: 9.797 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant): time 0.002126/0.3042, allocations: 0.5625 MB / 1.019 GB, free: 9.23 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 4.607e-05/0.3043, allocations: 7.938 kB / 1.019 GB, free: 9.223 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.156e-05/0.3043, allocations: 4 kB / 1.019 GB, free: 9.219 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.438e-05/0.3044, allocations: 3.938 kB / 1.019 GB, free: 9.215 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 2.985e-05/0.3044, allocations: 0 / 1.019 GB, free: 9.215 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 3.481e-05/0.3045, allocations: 4 kB / 1.019 GB, free: 9.211 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.642e-05/0.3045, allocations: 4 kB / 1.019 GB, free: 9.207 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 6.108e-05/0.3046, allocations: 4 kB / 1.019 GB, free: 9.203 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.756e-05/0.3046, allocations: 0 / 1.019 GB, free: 9.203 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 2.096e-05/0.3047, allocations: 3.984 kB / 1.019 GB, free: 9.199 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.3047, allocations: 0 / 1.019 GB, free: 9.199 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 3.818e-06/0.3047, allocations: 0 / 1.019 GB, free: 9.199 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.743e-05/0.3047, allocations: 7.984 kB / 1.019 GB, free: 9.191 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.294e-05/0.3047, allocations: 0 / 1.019 GB, free: 9.191 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 6.83e-05/0.3048, allocations: 7.938 kB / 1.019 GB, free: 9.184 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3048, allocations: 0 / 1.019 GB, free: 9.184 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.644e-06/0.3048, allocations: 4 kB / 1.019 GB, free: 9.18 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.3048, allocations: 0 / 1.019 GB, free: 9.18 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003079/0.3052, allocations: 315.5 kB / 1.02 GB, free: 8.82 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.3052, allocations: 8.922 kB / 1.02 GB, free: 8.812 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.311e-05/0.3052, allocations: 0.9375 kB / 1.02 GB, free: 8.812 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.3054, allocations: 160.4 kB / 1.02 GB, free: 8.617 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.3054, allocations: 4.375 kB / 1.02 GB, free: 8.613 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.3054, allocations: 4.375 kB / 1.02 GB, free: 8.609 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.955e-05/0.3055, allocations: 34.2 kB / 1.02 GB, free: 8.57 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.3055, allocations: 192 / 1.02 GB, free: 8.57 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.3055, allocations: 7.922 kB / 1.02 GB, free: 8.562 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.3055, allocations: 3.938 kB / 1.02 GB, free: 8.559 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.761e-05/0.3056, allocations: 4 kB / 1.02 GB, free: 8.555 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003255/0.3059, allocations: 375.5 kB / 1.02 GB, free: 8.137 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 9.153e-05/0.306, allocations: 185 kB / 1.02 GB, free: 7.945 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.208e-05/0.306, allocations: 84.14 kB / 1.021 GB, free: 7.859 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.3061, allocations: 75.28 kB / 1.021 GB, free: 7.785 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.741e-05/0.3061, allocations: 109.8 kB / 1.021 GB, free: 7.668 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.3061, allocations: 0 / 1.021 GB, free: 7.668 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 7.453e-05/0.3062, allocations: 33.7 kB / 1.021 GB, free: 7.629 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.686e-05/0.3063, allocations: 130.7 kB / 1.021 GB, free: 7.488 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.211e-05/0.3064, allocations: 93.8 kB / 1.021 GB, free: 7.387 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.3064, allocations: 29.7 kB / 1.021 GB, free: 7.352 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.264e-05/0.3064, allocations: 80.14 kB / 1.021 GB, free: 7.27 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.935e-06/0.3064, allocations: 0 / 1.021 GB, free: 7.27 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.235e-05/0.3064, allocations: 9.719 kB / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.3066, allocations: 314.8 kB / 1.021 GB, free: 6.938 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.115e-06/0.3066, allocations: 4.125 kB / 1.021 GB, free: 6.934 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.601e-06/0.3066, allocations: 7.922 kB / 1.021 GB, free: 6.926 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.805e-05/0.3066, allocations: 79.28 kB / 1.021 GB, free: 6.848 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.077e-05/0.3066, allocations: 75.28 kB / 1.022 GB, free: 6.773 MB / 0.795 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.414e-05/0.3067, allocations: 29.64 kB / 1.022 GB, free: 6.738 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.9e-05/0.3068, allocations: 83.28 kB / 1.022 GB, free: 6.656 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.883e-05/0.3068, allocations: 79.22 kB / 1.022 GB, free: 6.578 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.323e-05/0.3069, allocations: 150.6 kB / 1.022 GB, free: 6.43 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.457e-05/0.3069, allocations: 79.28 kB / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.296e-05/0.307, allocations: 160 kB / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.761e-05/0.307, allocations: 83.27 kB / 1.022 GB, free: 6.113 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.606e-05/0.3071, allocations: 79.22 kB / 1.022 GB, free: 6.035 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 (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.000105/0.3072, allocations: 260.3 kB / 1.022 GB, free: 5.77 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.734e-05/0.3072, allocations: 109 kB / 1.023 GB, free: 5.656 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.196e-05/0.3073, allocations: 108 kB / 1.023 GB, free: 5.543 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.418e-05/0.3074, allocations: 180.3 kB / 1.023 GB, free: 5.359 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.134e-05/0.3074, allocations: 180.2 kB / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-05/0.3075, allocations: 184.2 kB / 1.023 GB, free: 4.988 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001992/0.3077, allocations: 409.2 kB / 1.024 GB, free: 4.531 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.35e-05/0.3077, allocations: 104.9 kB / 1.024 GB, free: 4.422 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.795e-05/0.3078, allocations: 109 kB / 1.024 GB, free: 4.309 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.415e-05/0.3078, allocations: 176.3 kB / 1.024 GB, free: 4.129 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.826e-05/0.3079, allocations: 180.2 kB / 1.024 GB, free: 3.945 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.497e-05/0.3079, allocations: 176.6 kB / 1.024 GB, free: 3.766 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.595e-05/0.308, allocations: 192.2 kB / 1.025 GB, free: 3.57 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001204/0.3081, allocations: 307.8 kB / 1.025 GB, free: 3.246 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.53e-05/0.3082, allocations: 186 kB / 1.025 GB, free: 3.039 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.665e-05/0.3083, allocations: 180.2 kB / 1.025 GB, free: 2.855 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.054e-05/0.3083, allocations: 104.9 kB / 1.025 GB, free: 2.746 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.568e-05/0.3084, allocations: 188.3 kB / 1.025 GB, free: 2.555 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-05/0.3085, allocations: 101 kB / 1.026 GB, free: 2.449 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.015e-05/0.3085, allocations: 75.28 kB / 1.026 GB, free: 2.375 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.51e-07/0.3085, allocations: 3.938 kB / 1.026 GB, free: 2.371 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002425/0.3088, allocations: 4 kB / 1.026 GB, free: 2.367 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 (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.0001596/0.3089, allocations: 178.6 kB / 1.026 GB, free: 2.184 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 5.05e-05/0.309, allocations: 4 kB / 1.026 GB, free: 2.18 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.309, allocations: 0 / 1.026 GB, free: 2.18 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.823e-06/0.309, allocations: 3.938 kB / 1.026 GB, free: 2.176 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.3094, allocations: 459.6 kB / 1.026 GB, free: 1.723 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002593/0.3096, allocations: 158.9 kB / 1.026 GB, free: 1.543 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.3099, allocations: 0.6807 MB / 1.027 GB, free: 0.8359 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 8.927e-06/0.3099, allocations: 0 / 1.027 GB, free: 0.8359 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.642e-05/0.3099, allocations: 11.38 kB / 1.027 GB, free: 0.8242 MB / 0.795 GB Notification: Performance of SimCode: time 4.11e-07/0.3099, allocations: 0 / 1.027 GB, free: 0.8242 MB / 0.795 GB Notification: Performance of Templates: time 0.001881/0.3118, allocations: 168.8 kB / 1.027 GB, free: 0.6602 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Constant.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Constant.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches