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.001258/0.001258, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001374/0.001374, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.522/1.522, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.169/3.169, allocations: 472.7 MB / 0.7447 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 69.36 kB / 0.9114 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3874/0.3887, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.002016/0.3907, allocations: 0.7089 MB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008155/0.3916, allocations: 0.804 MB / 1.069 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.288e-05/0.3916, allocations: 4 kB / 1.069 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.018e-05/0.3916, allocations: 0 / 1.069 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.157e-05/0.3917, allocations: 3.938 kB / 1.069 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001314/0.3919, allocations: 15.98 kB / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.42e-05/0.3919, allocations: 15.94 kB / 1.069 GB, free: 9.344 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.392, allocations: 15.98 kB / 1.069 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.717e-05/0.3921, allocations: 7.938 kB / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.63e-05/0.3921, allocations: 11.92 kB / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.3922, allocations: 4 kB / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.327e-06/0.3922, allocations: 4 kB / 1.069 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.624e-05/0.3922, allocations: 3.984 kB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.69e-05/0.3922, allocations: 11.94 kB / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 6.794e-05/0.3923, allocations: 15.97 kB / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3923, allocations: 0 / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.42e-07/0.3923, allocations: 0 / 1.069 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.3923, allocations: 0 / 1.069 GB, free: 9.27 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.0004834/0.3928, allocations: 329.5 kB / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.3929, allocations: 16.02 kB / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.253e-05/0.3929, allocations: 12.88 kB / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.393, allocations: 164.3 kB / 1.07 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.3931, allocations: 8.312 kB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-06/0.3931, allocations: 384 / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.3933, allocations: 50.23 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.3933, allocations: 192 / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.3933, allocations: 3.938 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.3933, allocations: 0 / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001773/0.3935, allocations: 43.89 kB / 1.07 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003119/0.3938, allocations: 241 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.3939, allocations: 38.5 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.966e-05/0.394, allocations: 16.91 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.3941, allocations: 11.98 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.3941, allocations: 42.5 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 2.485e-06/0.3941, allocations: 3.984 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003545/0.3945, allocations: 81.55 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.3945, allocations: 51.41 kB / 1.07 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.246e-05/0.3946, allocations: 102 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.3946, allocations: 25.7 kB / 1.07 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.741e-05/0.3946, allocations: 84.14 kB / 1.07 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.3947, allocations: 11.89 kB / 1.07 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/0.3947, allocations: 9.719 kB / 1.07 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.716e-05/0.3948, allocations: 310.8 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.614e-05/0.3949, allocations: 19.98 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.583e-05/0.395, allocations: 15.98 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.3951, allocations: 48.75 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3952, allocations: 0 / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001933/0.3954, allocations: 69.59 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.3954, allocations: 4 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.3954, allocations: 96 / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.3954, allocations: 4 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.409e-05/0.3955, allocations: 8 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.3955, allocations: 0 / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.181e-05/0.3956, allocations: 7.984 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.3956, allocations: 0 / 1.071 GB, free: 7.246 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 6.684e-05/0.3956, allocations: 109.8 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.504e-05/0.3957, allocations: 7.938 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002325/0.3959, allocations: 80.7 kB / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3959, allocations: 0 / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3959, allocations: 0 / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.3959, allocations: 0 / 1.071 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.3961, allocations: 157.6 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3961, allocations: 4 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.118e-05/0.3962, allocations: 7.984 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3962, allocations: 3.938 kB / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.3962, allocations: 32 / 1.071 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.3962, allocations: 7.984 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.3962, allocations: 4 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.3965, allocations: 167.3 kB / 1.071 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.713e-05/0.3965, allocations: 81.11 kB / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.3965, allocations: 0 / 1.072 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.413e-05/0.3966, allocations: 12.02 kB / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.3967, allocations: 0 / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-06/0.3967, allocations: 0 / 1.072 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.606e-05/0.3967, allocations: 87.27 kB / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3967, allocations: 0 / 1.072 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002163/0.3969, allocations: 4 kB / 1.072 GB, free: 6.426 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.0001392/0.3971, allocations: 95.25 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002077/0.3973, allocations: 39.97 kB / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3973, allocations: 0 / 1.072 GB, free: 6.281 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.108e-05/0.3974, allocations: 27.91 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002809/0.3977, allocations: 7.875 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002765/0.398, allocations: 109.2 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002202/0.3982, allocations: 0.6811 MB / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.294e-05/0.3982, allocations: 0 / 1.073 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.304e-05/0.3983, allocations: 11.44 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.3983, allocations: 0 / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of Templates: time 0.002185/0.4005, allocations: 367.8 kB / 1.073 GB, free: 5.043 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