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.008337/0.008337, allocations: 98.53 kB / 15.73 MB, free: 6.039 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.001905/0.001905, allocations: 199.9 kB / 16.68 MB, free: 5.973 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.51/1.51, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.832/2.832, allocations: 461.9 MB / 0.7347 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 71.89 kB / 1.054 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3789/0.3804, allocations: 157.4 MB / 1.208 GB, free: 9.574 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.002375/0.3828, allocations: 0.6728 MB / 1.208 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001179/0.384, allocations: 0.7923 MB / 1.209 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.712e-05/0.3841, allocations: 0 / 1.209 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.468e-05/0.3841, allocations: 3.938 kB / 1.209 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.909e-05/0.3842, allocations: 4 kB / 1.209 GB, free: 8.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001907/0.3844, allocations: 11.92 kB / 1.209 GB, free: 8.078 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000101/0.3845, allocations: 19.98 kB / 1.209 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.3847, allocations: 4 kB / 1.209 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.601e-05/0.3847, allocations: 11.94 kB / 1.209 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.148e-05/0.3848, allocations: 19.97 kB / 1.209 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.3848, allocations: 0 / 1.209 GB, free: 8.023 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.213e-05/0.3848, allocations: 4 kB / 1.209 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.137e-05/0.3849, allocations: 7.875 kB / 1.209 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.168e-05/0.3849, allocations: 11.92 kB / 1.209 GB, free: 8 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.385, allocations: 23.91 kB / 1.209 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.385, allocations: 0 / 1.209 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.565e-06/0.385, allocations: 0 / 1.209 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.489e-05/0.3851, allocations: 0 / 1.209 GB, free: 7.977 MB / 0.9669 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.0006506/0.3857, allocations: 339.5 kB / 1.21 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/0.3858, allocations: 8.625 kB / 1.21 GB, free: 7.586 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.406e-05/0.3858, allocations: 4.938 kB / 1.21 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.386, allocations: 164.3 kB / 1.21 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.386, allocations: 4.375 kB / 1.21 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/0.3861, allocations: 4.375 kB / 1.21 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.3863, allocations: 46.23 kB / 1.21 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.3863, allocations: 4.188 kB / 1.21 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.3863, allocations: 3.938 kB / 1.21 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.88e-06/0.3863, allocations: 4 kB / 1.21 GB, free: 7.312 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.3865, allocations: 35.89 kB / 1.21 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003699/0.3869, allocations: 244.8 kB / 1.21 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.387, allocations: 50.47 kB / 1.21 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.074e-05/0.3871, allocations: 20.91 kB / 1.21 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.3872, allocations: 0 / 1.21 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.3872, allocations: 30.56 kB / 1.21 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.3872, allocations: 0 / 1.21 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003624/0.3876, allocations: 85.58 kB / 1.21 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.3876, allocations: 55.53 kB / 1.21 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.566e-05/0.3877, allocations: 109.8 kB / 1.21 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.3877, allocations: 25.7 kB / 1.211 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.006e-05/0.3878, allocations: 80.14 kB / 1.211 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.3878, allocations: 7.906 kB / 1.211 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.904e-05/0.3879, allocations: 13.72 kB / 1.211 GB, free: 6.453 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.388, allocations: 310.8 kB / 1.211 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.568e-05/0.3881, allocations: 23.97 kB / 1.211 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.253e-05/0.3882, allocations: 15.98 kB / 1.211 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.3883, allocations: 36.77 kB / 1.211 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3883, allocations: 0 / 1.211 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002006/0.3885, allocations: 73.59 kB / 1.211 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.3886, allocations: 8.094 kB / 1.211 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.3886, allocations: 4 kB / 1.211 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.3886, allocations: 0 / 1.211 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.076e-05/0.3887, allocations: 7.984 kB / 1.211 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.3887, allocations: 0 / 1.211 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.495e-05/0.3888, allocations: 4 kB / 1.211 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.3888, allocations: 11.92 kB / 1.211 GB, free: 5.949 MB / 0.9669 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.576e-05/0.3889, allocations: 109.8 kB / 1.211 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.3889, allocations: 4 kB / 1.211 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002396/0.3891, allocations: 76.72 kB / 1.211 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3891, allocations: 0 / 1.211 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3891, allocations: 0 / 1.211 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3892, allocations: 0 / 1.211 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.3893, allocations: 165.6 kB / 1.211 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.3893, allocations: 4 kB / 1.211 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.812e-05/0.3894, allocations: 8 kB / 1.211 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3894, allocations: 4.031 kB / 1.211 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.3894, allocations: 0 / 1.211 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3894, allocations: 3.938 kB / 1.211 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.297e-05/0.3894, allocations: 3.984 kB / 1.211 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/0.3897, allocations: 167.3 kB / 1.212 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.457e-05/0.3897, allocations: 81.09 kB / 1.212 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.3897, allocations: 8.031 kB / 1.212 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.175e-05/0.3898, allocations: 0 / 1.212 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/0.3899, allocations: 7.984 kB / 1.212 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.3899, allocations: 0 / 1.212 GB, free: 5.223 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.157e-05/0.3899, allocations: 83.28 kB / 1.212 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3899, allocations: 0 / 1.212 GB, free: 5.141 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002298/0.3902, allocations: 4 kB / 1.212 GB, free: 5.137 MB / 0.9669 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.0001633/0.3903, allocations: 95.25 kB / 1.212 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000233/0.3906, allocations: 43.95 kB / 1.212 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3906, allocations: 0 / 1.212 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.3907, allocations: 19.92 kB / 1.212 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003161/0.391, allocations: 13.44 kB / 1.212 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003089/0.3913, allocations: 113.6 kB / 1.212 GB, free: 4.816 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.3917, allocations: 0.6807 MB / 1.213 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.6e-05/0.3917, allocations: 0 / 1.213 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.396e-05/0.3917, allocations: 11.44 kB / 1.213 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of SimCode: time 2.51e-07/0.3917, allocations: 0 / 1.213 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of Templates: time 0.003117/0.3949, allocations: 451.5 kB / 1.213 GB, free: 3.664 MB / 0.9669 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