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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001043/0.001043, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.009956/0.009956, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.552/1.552, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.942/2.942, allocations: 462.7 MB / 0.7364 GB, free: 320 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004118/0.0004119, allocations: 12.75 kB / 0.9028 GB, free: 36.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.3914, allocations: 159.6 MB / 1.059 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001009/0.3924, allocations: 396.6 kB / 1.059 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009018/0.3934, allocations: 0.8001 MB / 1.06 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.187e-05/0.3934, allocations: 0 / 1.06 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.937e-05/0.3934, allocations: 3.938 kB / 1.06 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.548e-05/0.3935, allocations: 7.922 kB / 1.06 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001502/0.3937, allocations: 11.98 kB / 1.06 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.947e-05/0.3937, allocations: 15.94 kB / 1.06 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.3939, allocations: 15.98 kB / 1.06 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.546e-05/0.3939, allocations: 7.938 kB / 1.06 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.902e-05/0.394, allocations: 7.984 kB / 1.06 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.394, allocations: 4 kB / 1.06 GB, free: 4.203 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.606e-06/0.394, allocations: 4 kB / 1.06 GB, free: 4.199 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.863e-05/0.3941, allocations: 3.938 kB / 1.06 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.239e-05/0.3941, allocations: 29.7 kB / 1.06 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.688e-05/0.3942, allocations: 31.88 kB / 1.06 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3942, allocations: 0 / 1.06 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3942, allocations: 0 / 1.06 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.3942, allocations: 0 / 1.06 GB, free: 4.129 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004693/0.3947, allocations: 339.8 kB / 1.06 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.3947, allocations: 8.031 kB / 1.06 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.627e-05/0.3948, allocations: 4.938 kB / 1.06 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.3949, allocations: 168.2 kB / 1.06 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.3949, allocations: 384 / 1.06 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.256e-06/0.3949, allocations: 384 / 1.06 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.3951, allocations: 58.17 kB / 1.061 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.3952, allocations: 8.188 kB / 1.061 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.3952, allocations: 3.938 kB / 1.061 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.3952, allocations: 0 / 1.061 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001856/0.3954, allocations: 43.95 kB / 1.061 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003498/0.3957, allocations: 245 kB / 1.061 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.3959, allocations: 50.38 kB / 1.061 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.396, allocations: 32.89 kB / 1.061 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.396, allocations: 4 kB / 1.061 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.396, allocations: 30.56 kB / 1.061 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.396, allocations: 0 / 1.061 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003807/0.3964, allocations: 97.73 kB / 1.061 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.3965, allocations: 55.41 kB / 1.061 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.228e-05/0.3966, allocations: 93.86 kB / 1.061 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.3966, allocations: 25.7 kB / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.857e-05/0.3966, allocations: 88.14 kB / 1.061 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.34e-05/0.3967, allocations: 7.891 kB / 1.061 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.209e-05/0.3967, allocations: 13.66 kB / 1.061 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.3968, allocations: 314.9 kB / 1.062 GB, free: 2.254 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.876e-05/0.3969, allocations: 23.98 kB / 1.062 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.742e-05/0.397, allocations: 15.98 kB / 1.062 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.3972, allocations: 56.81 kB / 1.062 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3972, allocations: 4 kB / 1.062 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002047/0.3974, allocations: 81.61 kB / 1.062 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.3974, allocations: 7.984 kB / 1.062 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.3974, allocations: 0 / 1.062 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.3974, allocations: 0 / 1.062 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.07e-05/0.3975, allocations: 8 kB / 1.062 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.3976, allocations: 7.922 kB / 1.062 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.756e-05/0.3976, allocations: 11.98 kB / 1.062 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.3976, allocations: 4.031 kB / 1.062 GB, free: 2.027 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 (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 7.937e-05/0.3977, allocations: 115.3 kB / 1.062 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/0.3978, allocations: 3.906 kB / 1.062 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002578/0.398, allocations: 88.77 kB / 1.062 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.398, allocations: 0 / 1.062 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.398, allocations: 4 kB / 1.062 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.398, allocations: 0 / 1.062 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.3982, allocations: 157.6 kB / 1.062 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3982, allocations: 0 / 1.062 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.141e-05/0.3983, allocations: 11.98 kB / 1.062 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3983, allocations: 4 kB / 1.062 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.3983, allocations: 192 / 1.062 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.3983, allocations: 3.938 kB / 1.062 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3983, allocations: 7.969 kB / 1.062 GB, free: 1.578 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.3986, allocations: 175.4 kB / 1.062 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.269e-05/0.3986, allocations: 81.14 kB / 1.062 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.3986, allocations: 4 kB / 1.062 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.742e-05/0.3987, allocations: 7.984 kB / 1.062 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.972e-05/0.3988, allocations: 4 kB / 1.062 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.3988, allocations: 0 / 1.062 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.288e-05/0.3988, allocations: 87.27 kB / 1.063 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3988, allocations: 0 / 1.063 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002143/0.399, allocations: 4 kB / 1.063 GB, free: 1.188 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 (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.0001655/0.3992, allocations: 99.25 kB / 1.063 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002306/0.3995, allocations: 47.91 kB / 1.063 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3995, allocations: 0 / 1.063 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.58e-05/0.3996, allocations: 32.03 kB / 1.063 GB, free: 1 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.3999, allocations: 7.875 kB / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002874/0.4002, allocations: 108.6 kB / 1.063 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.4005, allocations: 0.677 MB / 1.063 GB, free: 160 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.496e-05/0.4005, allocations: 4.062 kB / 1.063 GB, free: 156 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.708e-05/0.4005, allocations: 15.38 kB / 1.064 GB, free: 140 kB / 0.8106 GB Notification: Performance of SimCode: time 4.21e-07/0.4005, allocations: 0 / 1.064 GB, free: 140 kB / 0.8106 GB Notification: Performance of Templates: time 0.002664/0.4032, allocations: 351.4 kB / 1.064 GB, free: 15.8 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