Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001257/0.001257, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.95/2.95, allocations: 462.6 MB / 0.736 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003951/0.0003954, allocations: 13.81 kB / 0.9022 GB, free: 36.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.421/0.4215, allocations: 159.6 MB / 1.058 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.0009966/0.4225, allocations: 420.6 kB / 1.058 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001147/0.4237, allocations: 0.804 MB / 1.059 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.138e-05/0.4237, allocations: 4 kB / 1.059 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.047e-05/0.4238, allocations: 0 / 1.059 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.062e-05/0.4239, allocations: 7.938 kB / 1.059 GB, free: 4 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.166e-05/0.4239, allocations: 7.984 kB / 1.059 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.595e-05/0.424, allocations: 35.92 kB / 1.059 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.4241, allocations: 11.98 kB / 1.059 GB, free: 3.945 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.651e-05/0.4242, allocations: 15.92 kB / 1.059 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.766e-05/0.4243, allocations: 15.92 kB / 1.059 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.4243, allocations: 11.98 kB / 1.059 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.955e-06/0.4243, allocations: 0 / 1.059 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.357e-05/0.4243, allocations: 3.938 kB / 1.059 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.951e-05/0.4244, allocations: 29.7 kB / 1.059 GB, free: 3.863 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.124e-05/0.4245, allocations: 27.92 kB / 1.059 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.852e-06/0.4245, allocations: 4 kB / 1.059 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.475e-06/0.4245, allocations: 0 / 1.059 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.4245, allocations: 0 / 1.059 GB, free: 3.832 MB / 0.8106 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.0005733/0.4251, allocations: 375.4 kB / 1.06 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.4251, allocations: 11.97 kB / 1.06 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.565e-05/0.4252, allocations: 0 / 1.06 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.4253, allocations: 167 kB / 1.06 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.4254, allocations: 0 / 1.06 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.004e-05/0.4254, allocations: 15.94 kB / 1.06 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002542/0.4256, allocations: 81.58 kB / 1.06 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.4257, allocations: 4 kB / 1.06 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.4257, allocations: 4 kB / 1.06 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.4257, allocations: 0 / 1.06 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002745/0.426, allocations: 87.92 kB / 1.06 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004236/0.4264, allocations: 268.8 kB / 1.06 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.4266, allocations: 70.42 kB / 1.06 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.4268, allocations: 52.91 kB / 1.06 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.4268, allocations: 0 / 1.06 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.4268, allocations: 34.56 kB / 1.061 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.4268, allocations: 0 / 1.061 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.000521/0.4274, allocations: 157.6 kB / 1.061 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.4274, allocations: 51.41 kB / 1.061 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.55e-05/0.4275, allocations: 113.8 kB / 1.061 GB, free: 2.176 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.4275, allocations: 29.7 kB / 1.061 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.369e-05/0.4276, allocations: 92.03 kB / 1.061 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.4276, allocations: 7.891 kB / 1.061 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.4276, allocations: 4 kB / 1.061 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.4278, allocations: 318.8 kB / 1.061 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.4279, allocations: 43.95 kB / 1.061 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.428, allocations: 39.97 kB / 1.061 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.4282, allocations: 43.95 kB / 1.061 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.4282, allocations: 4 kB / 1.061 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003062/0.4285, allocations: 117.6 kB / 1.062 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.4285, allocations: 4 kB / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.4285, allocations: 0 / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.4285, allocations: 0 / 1.062 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.4287, allocations: 23.98 kB / 1.062 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.4287, allocations: 0 / 1.062 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.721e-05/0.4288, allocations: 27.91 kB / 1.062 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.4288, allocations: 0 / 1.062 GB, free: 1.41 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.285e-05/0.4289, allocations: 113.8 kB / 1.062 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.486e-05/0.4289, allocations: 3.906 kB / 1.062 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.59e-05/0.4289, allocations: 11.91 kB / 1.062 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.4289, allocations: 0 / 1.062 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.429, allocations: 0 / 1.062 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.429, allocations: 0 / 1.062 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/0.4291, allocations: 177.5 kB / 1.062 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4291, allocations: 4 kB / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.159e-05/0.4292, allocations: 19.98 kB / 1.062 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.4293, allocations: 0 / 1.062 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.4293, allocations: 4 kB / 1.062 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.4293, allocations: 3.938 kB / 1.062 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4293, allocations: 0 / 1.062 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003527/0.4296, allocations: 227.7 kB / 1.062 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.398e-05/0.4297, allocations: 92.91 kB / 1.062 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.4297, allocations: 0 / 1.062 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.4298, allocations: 15.98 kB / 1.062 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/0.4299, allocations: 3.984 kB / 1.062 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.4299, allocations: 4 kB / 1.062 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.244e-05/0.4299, allocations: 83.28 kB / 1.062 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.91e-07/0.4299, allocations: 4 kB / 1.062 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002179/0.4302, allocations: 8 kB / 1.062 GB, free: 0.5508 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001575/0.4303, allocations: 95.25 kB / 1.062 GB, free: 460 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000331/0.4307, allocations: 91.92 kB / 1.062 GB, free: 368 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4307, allocations: 0 / 1.062 GB, free: 368 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.4308, allocations: 55.89 kB / 1.063 GB, free: 312 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.4311, allocations: 6.391 kB / 1.063 GB, free: 308 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000328/0.4315, allocations: 136.5 kB / 1.063 GB, free: 144 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.4317, allocations: 0.677 MB / 1.063 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.623e-05/0.4318, allocations: 8 kB / 1.063 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.733e-05/0.4318, allocations: 7.438 kB / 1.063 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of SimCode: time 4e-07/0.4318, allocations: 0 / 1.063 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of Templates: time 0.002809/0.4346, allocations: 0.5282 MB / 1.064 GB, free: 14.9 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Average.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches