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.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.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.0008299/0.0008299, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008881/0.0008884, allocations: 172.7 kB / 15.95 MB, free: 208 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.547/1.547, allocations: 223.3 MB / 240 MB, free: 5.227 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.876/2.876, allocations: 462.6 MB / 0.736 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003625/0.0003625, allocations: 15.98 kB / 0.9022 GB, free: 36.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.383, allocations: 159.6 MB / 1.058 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.0008793/0.384, allocations: 392.7 kB / 1.058 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008609/0.3848, allocations: 0.7924 MB / 1.059 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.829e-05/0.3849, allocations: 4 kB / 1.059 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.429e-05/0.3849, allocations: 0 / 1.059 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.966e-05/0.385, allocations: 11.86 kB / 1.059 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001205/0.3851, allocations: 0 / 1.059 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.297e-05/0.3852, allocations: 23.92 kB / 1.059 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.948e-05/0.3853, allocations: 11.98 kB / 1.059 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.369e-05/0.3853, allocations: 8 kB / 1.059 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.857e-05/0.3854, allocations: 7.922 kB / 1.059 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.3854, allocations: 8 kB / 1.059 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.546e-06/0.3854, allocations: 0 / 1.059 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.126e-05/0.3854, allocations: 0 / 1.059 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.871e-05/0.3854, allocations: 33.64 kB / 1.059 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 4.866e-05/0.3855, allocations: 11.97 kB / 1.059 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3855, allocations: 0 / 1.059 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3855, allocations: 0 / 1.059 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.115e-06/0.3855, allocations: 0 / 1.059 GB, free: 4.004 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.0004208/0.3859, allocations: 347.6 kB / 1.06 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.386, allocations: 8.031 kB / 1.06 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.813e-05/0.386, allocations: 0 / 1.06 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.3862, allocations: 170.9 kB / 1.06 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.3862, allocations: 4 kB / 1.06 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.3862, allocations: 3.953 kB / 1.06 GB, free: 3.395 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.3864, allocations: 57.61 kB / 1.06 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.3864, allocations: 4 kB / 1.06 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.3864, allocations: 0 / 1.06 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.3864, allocations: 0 / 1.06 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001576/0.3866, allocations: 39.97 kB / 1.06 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003699/0.387, allocations: 252.9 kB / 1.06 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001255/0.3871, allocations: 46.5 kB / 1.06 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.239e-05/0.3872, allocations: 24.91 kB / 1.06 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.3872, allocations: 8 kB / 1.06 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.3873, allocations: 34.55 kB / 1.06 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/0.3873, allocations: 0 / 1.06 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003435/0.3876, allocations: 93.64 kB / 1.06 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/0.3877, allocations: 55.39 kB / 1.06 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.472e-05/0.3878, allocations: 101.9 kB / 1.06 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.3878, allocations: 25.7 kB / 1.061 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.371e-05/0.3878, allocations: 88.08 kB / 1.061 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.3879, allocations: 7.891 kB / 1.061 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-06/0.3879, allocations: 0 / 1.061 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.388, allocations: 323 kB / 1.061 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.941e-05/0.3881, allocations: 19.98 kB / 1.061 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.014e-05/0.3882, allocations: 19.98 kB / 1.061 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.739e-05/0.3882, allocations: 28 kB / 1.061 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3883, allocations: 3.938 kB / 1.061 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000186/0.3884, allocations: 73.66 kB / 1.061 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.3885, allocations: 12.03 kB / 1.061 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.3885, allocations: 3.938 kB / 1.061 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.3885, allocations: 0 / 1.061 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.499e-05/0.3886, allocations: 11.98 kB / 1.061 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.3886, allocations: 0 / 1.061 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.826e-05/0.3887, allocations: 11.98 kB / 1.061 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.3887, allocations: 4 kB / 1.061 GB, free: 1.941 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.456e-05/0.3888, allocations: 121.7 kB / 1.061 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.3888, allocations: 7.906 kB / 1.061 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002091/0.389, allocations: 72.78 kB / 1.061 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.389, allocations: 4 kB / 1.061 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.389, allocations: 0 / 1.061 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.389, allocations: 4.031 kB / 1.061 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.3892, allocations: 157.7 kB / 1.061 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3892, allocations: 3.953 kB / 1.061 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.435e-05/0.3893, allocations: 8 kB / 1.061 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.3893, allocations: 0 / 1.061 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.3893, allocations: 3.984 kB / 1.061 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3893, allocations: 0 / 1.061 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3893, allocations: 4 kB / 1.061 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000241/0.3895, allocations: 175.5 kB / 1.062 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.339e-05/0.3896, allocations: 81.06 kB / 1.062 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.3896, allocations: 0 / 1.062 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.388e-05/0.3897, allocations: 12.03 kB / 1.062 GB, free: 1.203 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.3897, allocations: 3.984 kB / 1.062 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.3897, allocations: 0 / 1.062 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.352e-05/0.3898, allocations: 83.28 kB / 1.062 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3898, allocations: 0 / 1.062 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002048/0.39, allocations: 4 kB / 1.062 GB, free: 1.113 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 (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.0001432/0.3902, allocations: 95.25 kB / 1.062 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000195/0.3904, allocations: 55.89 kB / 1.062 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3904, allocations: 0 / 1.062 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.79e-05/0.3905, allocations: 24.05 kB / 1.062 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.3907, allocations: 14.67 kB / 1.062 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002575/0.391, allocations: 112.5 kB / 1.062 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.3913, allocations: 0.677 MB / 1.063 GB, free: 80 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.596e-05/0.3913, allocations: 0 / 1.063 GB, free: 80 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.577e-05/0.3913, allocations: 7.438 kB / 1.063 GB, free: 72 kB / 0.8106 GB Notification: Performance of SimCode: time 3.21e-07/0.3913, allocations: 3.938 kB / 1.063 GB, free: 68 kB / 0.8106 GB Notification: Performance of Templates: time 0.002406/0.3937, allocations: 349.8 kB / 1.063 GB, free: 15.73 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