Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001847/0.001848, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.002466/0.002466, allocations: 194.8 kB / 16.25 MB, free: 6.629 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.468/1.468, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.998/2.998, allocations: 472.7 MB / 0.7449 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 66.2 kB / 0.9116 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3961, allocations: 159.9 MB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.002395/0.3986, allocations: 0.7244 MB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001042/0.3996, allocations: 0.8001 MB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.07e-05/0.3997, allocations: 0 / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.142e-05/0.3997, allocations: 0 / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.181e-05/0.3998, allocations: 7.922 kB / 1.069 GB, free: 9.188 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000157/0.4, allocations: 12 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.662e-05/0.4001, allocations: 23.92 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.4002, allocations: 8 kB / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.198e-05/0.4003, allocations: 15.94 kB / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.814e-05/0.4003, allocations: 15.92 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.4004, allocations: 3.938 kB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.083e-05/0.4004, allocations: 4 kB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.784e-05/0.4004, allocations: 3.984 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.882e-05/0.4004, allocations: 11.92 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.47e-05/0.4005, allocations: 15.97 kB / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4005, allocations: 0 / 1.069 GB, free: 9.074 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.635e-06/0.4006, allocations: 4 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.4006, allocations: 0 / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005/0.4011, allocations: 335.8 kB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.4011, allocations: 8.031 kB / 1.07 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.75e-05/0.4012, allocations: 4.938 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.4013, allocations: 164.3 kB / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.4013, allocations: 384 / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.4013, allocations: 384 / 1.07 GB, free: 8.48 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.4015, allocations: 54.17 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.4016, allocations: 192 / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.4016, allocations: 15.88 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.4016, allocations: 0 / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001722/0.4018, allocations: 35.94 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003545/0.4021, allocations: 241 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.4023, allocations: 46.42 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.301e-05/0.4024, allocations: 28.91 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.4024, allocations: 0 / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.4024, allocations: 30.56 kB / 1.07 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 7.31e-07/0.4024, allocations: 0 / 1.07 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003452/0.4028, allocations: 85.67 kB / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.4028, allocations: 55.41 kB / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.392e-05/0.4029, allocations: 105.8 kB / 1.071 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.4029, allocations: 25.7 kB / 1.071 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.553e-05/0.403, allocations: 80.14 kB / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.786e-05/0.403, allocations: 7.844 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/0.403, allocations: 17.72 kB / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.4031, allocations: 310.8 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.142e-05/0.4032, allocations: 19.97 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.203e-05/0.4033, allocations: 19.98 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.4035, allocations: 32.83 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.4035, allocations: 0 / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001775/0.4036, allocations: 73.66 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.4037, allocations: 4 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.4037, allocations: 4 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.4037, allocations: 4 kB / 1.071 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.64e-05/0.4038, allocations: 15.86 kB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.4038, allocations: 0 / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.432e-05/0.4038, allocations: 4 kB / 1.071 GB, free: 7.051 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.451e-06/0.4039, allocations: 0 / 1.071 GB, free: 7.051 MB / 0.8262 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 (2): * Single equations (assignments): 2 * 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.355e-05/0.4039, allocations: 127.5 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.045e-05/0.404, allocations: 0 / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002282/0.4042, allocations: 68.78 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.4042, allocations: 0 / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.4042, allocations: 0 / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.4042, allocations: 0 / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.4044, allocations: 161.6 kB / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.4044, allocations: 7.922 kB / 1.071 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.68e-05/0.4045, allocations: 16.03 kB / 1.071 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.4045, allocations: 0 / 1.071 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.4045, allocations: 0 / 1.071 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.197e-06/0.4045, allocations: 3.938 kB / 1.071 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.4045, allocations: 0 / 1.071 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.4047, allocations: 163.4 kB / 1.072 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.872e-05/0.4048, allocations: 85.12 kB / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.4048, allocations: 0 / 1.072 GB, free: 6.332 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.428e-05/0.4049, allocations: 8 kB / 1.072 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.782e-05/0.4049, allocations: 7.984 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-06/0.4049, allocations: 0 / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.538e-05/0.405, allocations: 79.28 kB / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of sort global known variables: time 9e-08/0.405, allocations: 0 / 1.072 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002052/0.4052, allocations: 4 kB / 1.072 GB, free: 6.234 MB / 0.8262 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 (2): * Single equations (assignments): 2 * 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.0001854/0.4054, allocations: 100.2 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00022/0.4056, allocations: 47.89 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.4056, allocations: 0 / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.606e-05/0.4057, allocations: 15.98 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.406, allocations: 11.88 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003098/0.4063, allocations: 113.6 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.4066, allocations: 0.6768 MB / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.443e-05/0.4066, allocations: 0 / 1.073 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.59e-05/0.4067, allocations: 7.438 kB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.4067, allocations: 0 / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of Templates: time 0.00266/0.4093, allocations: 386.9 kB / 1.073 GB, free: 4.828 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches