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.01111/0.01111, allocations: 99.75 kB / 15.73 MB, free: 6.055 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.002381/0.002381, allocations: 192.5 kB / 16.67 MB, free: 5.961 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.557/1.557, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.332/2.332, allocations: 390.2 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 64.09 kB / 0.9509 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.106/1.108, allocations: 140.4 MB / 1.088 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Constant): time 0.002225/1.11, allocations: 0.5805 MB / 1.089 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 5.527e-05/1.11, allocations: 5 kB / 1.089 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.18e-05/1.11, allocations: 0 / 1.089 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.662e-05/1.11, allocations: 0.9375 kB / 1.089 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.9e-05/1.11, allocations: 0 / 1.089 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.602e-05/1.11, allocations: 0 / 1.089 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 6.653e-05/1.11, allocations: 6.891 kB / 1.089 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 7.962e-05/1.11, allocations: 1.297 kB / 1.089 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.193e-05/1.11, allocations: 1.844 kB / 1.089 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.457e-05/1.11, allocations: 7.984 kB / 1.089 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/1.11, allocations: 1.156 kB / 1.089 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.561e-06/1.11, allocations: 3.938 kB / 1.089 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.967e-05/1.11, allocations: 0 / 1.089 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.383e-05/1.11, allocations: 1.188 kB / 1.089 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001084/1.11, allocations: 2.672 kB / 1.089 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/1.111, allocations: 0 / 1.089 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.504e-06/1.111, allocations: 8.938 kB / 1.089 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.814e-06/1.111, allocations: 0 / 1.089 GB, free: 5.137 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.0003323/1.111, allocations: 310.3 kB / 1.089 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/1.111, allocations: 10.3 kB / 1.089 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.972e-05/1.111, allocations: 6.188 kB / 1.089 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/1.111, allocations: 169.7 kB / 1.089 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/1.111, allocations: 1.156 kB / 1.089 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/1.111, allocations: 1.438 kB / 1.089 GB, free: 4.582 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.369e-05/1.111, allocations: 31.97 kB / 1.089 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/1.111, allocations: 1.469 kB / 1.089 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/1.111, allocations: 3.938 kB / 1.089 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/1.111, allocations: 0.7031 kB / 1.089 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.053e-05/1.111, allocations: 1.281 kB / 1.089 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003303/1.112, allocations: 378.2 kB / 1.089 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.25e-05/1.112, allocations: 182.7 kB / 1.09 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.822e-05/1.112, allocations: 80.89 kB / 1.09 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/1.112, allocations: 75.28 kB / 1.09 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/1.112, allocations: 111.6 kB / 1.09 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/1.112, allocations: 0.8438 kB / 1.09 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.623e-05/1.112, allocations: 31.08 kB / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/1.112, allocations: 131.5 kB / 1.09 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.887e-05/1.112, allocations: 95.11 kB / 1.09 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.053e-06/1.112, allocations: 25.7 kB / 1.09 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.772e-05/1.112, allocations: 80.14 kB / 1.09 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-06/1.112, allocations: 1.094 kB / 1.09 GB, free: 3.281 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.932e-05/1.112, allocations: 15.34 kB / 1.09 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.261e-05/1.112, allocations: 312.7 kB / 1.091 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.567e-06/1.112, allocations: 0 / 1.091 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.966e-06/1.112, allocations: 4.125 kB / 1.091 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.743e-05/1.112, allocations: 76.38 kB / 1.091 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.53e-05/1.112, allocations: 75.98 kB / 1.091 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.34e-05/1.112, allocations: 36.45 kB / 1.091 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/1.112, allocations: 85.12 kB / 1.091 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.871e-05/1.112, allocations: 77.02 kB / 1.091 GB, free: 2.605 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.15e-05/1.112, allocations: 156.5 kB / 1.091 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.683e-05/1.112, allocations: 87.22 kB / 1.091 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.546e-05/1.112, allocations: 156.5 kB / 1.091 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.908e-05/1.112, allocations: 81.16 kB / 1.091 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/1.113, allocations: 81.09 kB / 1.091 GB, free: 2.059 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.0001637/1.113, allocations: 262.1 kB / 1.092 GB, free: 17.79 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.143e-05/1.113, allocations: 106.8 kB / 1.092 GB, free: 17.68 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.79e-05/1.113, allocations: 110.1 kB / 1.092 GB, free: 17.57 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.062e-05/1.113, allocations: 185.9 kB / 1.092 GB, free: 17.38 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001169/1.113, allocations: 181.8 kB / 1.092 GB, free: 17.2 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001818/1.113, allocations: 178.1 kB / 1.092 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000243/1.113, allocations: 400.8 kB / 1.093 GB, free: 16.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.754e-05/1.113, allocations: 114.8 kB / 1.093 GB, free: 16.46 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.633e-05/1.114, allocations: 102.7 kB / 1.093 GB, free: 16.35 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.625e-05/1.114, allocations: 182.6 kB / 1.093 GB, free: 16.17 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.721e-05/1.114, allocations: 178 kB / 1.093 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.642e-05/1.114, allocations: 181.9 kB / 1.093 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.738e-05/1.114, allocations: 190.2 kB / 1.094 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/1.114, allocations: 309.2 kB / 1.094 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.536e-05/1.114, allocations: 180.8 kB / 1.094 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/1.114, allocations: 178.7 kB / 1.094 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/1.114, allocations: 110.8 kB / 1.094 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/1.114, allocations: 185 kB / 1.095 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.427e-05/1.115, allocations: 106.6 kB / 1.095 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.831e-05/1.115, allocations: 78.11 kB / 1.095 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of sort global known variables: time 9e-08/1.115, allocations: 0 / 1.095 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002812/1.115, allocations: 1.094 kB / 1.095 GB, free: 14.43 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.0002059/1.115, allocations: 175 kB / 1.095 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 5.901e-05/1.115, allocations: 5.812 kB / 1.095 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.115, allocations: 0 / 1.095 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/1.115, allocations: 1 kB / 1.095 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006134/1.116, allocations: 463.9 kB / 1.095 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002493/1.116, allocations: 151.2 kB / 1.096 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/1.116, allocations: 0.6753 MB / 1.096 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.135e-06/1.116, allocations: 0 / 1.096 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.109e-05/1.116, allocations: 7.438 kB / 1.096 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of SimCode: time 2.91e-07/1.116, allocations: 1.75 kB / 1.096 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of Templates: time 0.002363/1.119, allocations: 163.5 kB / 1.096 GB, free: 12.88 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/jenkins/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