Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.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.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006549/0.006549, allocations: 96.89 kB / 15.73 MB, free: 6 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.001148/0.001148, allocations: 189.7 kB / 16.67 MB, free: 5.93 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.452/1.452, 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 12.0.0-master/package.mo): time 3.033/3.033, allocations: 472.6 MB / 0.7453 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 68.09 kB / 1.07 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.3916, allocations: 159.9 MB / 1.226 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001984/0.3937, allocations: 0.6772 MB / 1.226 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009367/0.3946, allocations: 0.7962 MB / 1.227 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.835e-05/0.3947, allocations: 0 / 1.227 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.152e-05/0.3947, allocations: 3.938 kB / 1.227 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.98e-05/0.3948, allocations: 0 / 1.227 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001557/0.395, allocations: 11.94 kB / 1.227 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.132e-05/0.3951, allocations: 23.97 kB / 1.227 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.3952, allocations: 7.984 kB / 1.227 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.494e-05/0.3953, allocations: 7.938 kB / 1.227 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.919e-05/0.3953, allocations: 11.98 kB / 1.227 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.294e-05/0.3953, allocations: 8 kB / 1.227 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.04e-05/0.3954, allocations: 3.938 kB / 1.227 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.937e-05/0.3954, allocations: 3.938 kB / 1.227 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.666e-05/0.3954, allocations: 8 kB / 1.227 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.484e-05/0.3955, allocations: 23.89 kB / 1.227 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.3955, allocations: 3.984 kB / 1.227 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.355e-06/0.3955, allocations: 0 / 1.227 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.3955, allocations: 0 / 1.227 GB, free: 7.512 MB / 0.9825 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.000478/0.396, allocations: 345.2 kB / 1.228 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.3961, allocations: 8.031 kB / 1.228 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/0.3961, allocations: 4.891 kB / 1.228 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.3963, allocations: 168.3 kB / 1.228 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.3963, allocations: 384 / 1.228 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.3963, allocations: 8.312 kB / 1.228 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.3965, allocations: 46.23 kB / 1.228 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.3965, allocations: 4.172 kB / 1.228 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.3965, allocations: 7.938 kB / 1.228 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.3965, allocations: 0 / 1.228 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001697/0.3967, allocations: 43.89 kB / 1.228 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003804/0.3971, allocations: 241 kB / 1.228 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.3972, allocations: 42.44 kB / 1.228 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.176e-05/0.3973, allocations: 24.89 kB / 1.228 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.3974, allocations: 4 kB / 1.228 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.3974, allocations: 30.56 kB / 1.228 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 2.505e-06/0.3974, allocations: 0 / 1.228 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.000339/0.3977, allocations: 85.58 kB / 1.228 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.3978, allocations: 51.53 kB / 1.228 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.926e-05/0.3979, allocations: 101.9 kB / 1.228 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.3979, allocations: 25.7 kB / 1.228 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.016e-05/0.3979, allocations: 84.09 kB / 1.229 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.398, allocations: 11.94 kB / 1.229 GB, free: 6 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.099e-05/0.398, allocations: 13.72 kB / 1.229 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.3981, allocations: 310.8 kB / 1.229 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.802e-05/0.3982, allocations: 19.98 kB / 1.229 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.604e-05/0.3983, allocations: 15.98 kB / 1.229 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.3984, allocations: 44.75 kB / 1.229 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3984, allocations: 0 / 1.229 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001723/0.3986, allocations: 69.59 kB / 1.229 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.3986, allocations: 8.094 kB / 1.229 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.3986, allocations: 0 / 1.229 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.3987, allocations: 0 / 1.229 GB, free: 5.504 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.522e-05/0.3988, allocations: 12 kB / 1.229 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.3988, allocations: 3.984 kB / 1.229 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.391e-05/0.3988, allocations: 7.984 kB / 1.229 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-06/0.3988, allocations: 0 / 1.229 GB, free: 5.48 MB / 0.9825 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.943e-05/0.3989, allocations: 110.3 kB / 1.229 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.257e-05/0.3989, allocations: 4 kB / 1.229 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002206/0.3992, allocations: 80.7 kB / 1.229 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3992, allocations: 0 / 1.229 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.3992, allocations: 0 / 1.229 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3992, allocations: 0 / 1.229 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.3994, allocations: 161.6 kB / 1.229 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3994, allocations: 4 kB / 1.229 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.319e-05/0.3994, allocations: 7.984 kB / 1.229 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3994, allocations: 0 / 1.229 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.3995, allocations: 7.969 kB / 1.229 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3995, allocations: 3.938 kB / 1.229 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.3995, allocations: 4 kB / 1.229 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002402/0.3997, allocations: 167.3 kB / 1.23 GB, free: 4.859 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.793e-05/0.3998, allocations: 81.11 kB / 1.23 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.3998, allocations: 0 / 1.23 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.104e-05/0.3998, allocations: 12.02 kB / 1.23 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.167e-05/0.3999, allocations: 0 / 1.23 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-06/0.3999, allocations: 0 / 1.23 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.277e-05/0.4, allocations: 83.27 kB / 1.23 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4, allocations: 0 / 1.23 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002157/0.4002, allocations: 8 kB / 1.23 GB, free: 4.66 MB / 0.9825 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.0001586/0.4003, allocations: 95.25 kB / 1.23 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002067/0.4006, allocations: 39.97 kB / 1.23 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4006, allocations: 0 / 1.23 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.003e-05/0.4007, allocations: 23.91 kB / 1.23 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.401, allocations: 10.14 kB / 1.23 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003164/0.4013, allocations: 109.3 kB / 1.23 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.4016, allocations: 0.6808 MB / 1.231 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.531e-05/0.4016, allocations: 0 / 1.231 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.081e-05/0.4016, allocations: 11.44 kB / 1.231 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of SimCode: time 4e-07/0.4016, allocations: 0 / 1.231 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of Templates: time 0.002381/0.404, allocations: 436.9 kB / 1.231 GB, free: 3.211 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches