Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.009053/0.009053, allocations: 100.6 kB / 15.87 MB, free: 5.863 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.002203/0.002203, allocations: 190.4 kB / 16.79 MB, free: 5.805 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.471/1.471, allocations: 222.9 MB / 240.5 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.603/2.603, allocations: 437 MB / 0.7106 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 71.83 kB / 0.8692 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7061/0.7082, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.002041/0.7103, allocations: 0.7395 MB / 1.018 GB, free: 2.043 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000835/0.7112, allocations: 0.8001 MB / 1.019 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.465e-05/0.7112, allocations: 4 kB / 1.019 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.185e-05/0.7113, allocations: 0 / 1.019 GB, free: 1.227 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.298e-05/0.7114, allocations: 3.938 kB / 1.019 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001351/0.7115, allocations: 7.984 kB / 1.019 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 6.197e-05/0.7116, allocations: 12 kB / 1.019 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.543e-05/0.7117, allocations: 11.98 kB / 1.019 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.521e-05/0.7117, allocations: 11.94 kB / 1.019 GB, free: 1.18 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.805e-05/0.7118, allocations: 11.98 kB / 1.019 GB, free: 1.168 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.7118, allocations: 3.938 kB / 1.019 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.889e-06/0.7118, allocations: 0 / 1.019 GB, free: 1.164 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.37e-05/0.7118, allocations: 7.938 kB / 1.019 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.786e-05/0.7119, allocations: 11.92 kB / 1.019 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 5.388e-05/0.7119, allocations: 15.97 kB / 1.019 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.7119, allocations: 0 / 1.019 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of FrontEnd: time 8.21e-07/0.7119, allocations: 0 / 1.019 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.712, allocations: 0 / 1.019 GB, free: 1.129 MB / 0.7637 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.0004198/0.7124, allocations: 337.5 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.7124, allocations: 12.03 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.924e-05/0.7125, allocations: 0.9375 kB / 1.019 GB, free: 0.7383 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.7126, allocations: 172.3 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.7126, allocations: 4.375 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-06/0.7126, allocations: 384 / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/0.7128, allocations: 50.23 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.7128, allocations: 192 / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.7128, allocations: 7.938 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.7128, allocations: 0 / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001608/0.713, allocations: 35.91 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003393/0.7133, allocations: 245 kB / 1.02 GB, free: 144 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.7135, allocations: 42.48 kB / 1.02 GB, free: 92 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.298e-05/0.7136, allocations: 20.91 kB / 1.02 GB, free: 68 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.7136, allocations: 4 kB / 1.02 GB, free: 64 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.7136, allocations: 34.55 kB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.7136, allocations: 0 / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0003673/0.714, allocations: 85.69 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.7141, allocations: 55.39 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.09e-05/0.7141, allocations: 97.86 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.7142, allocations: 25.7 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.296e-05/0.7142, allocations: 80.14 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.7142, allocations: 15.84 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.7143, allocations: 17.64 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.705e-05/0.7144, allocations: 310.8 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.506e-05/0.7145, allocations: 24.02 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.587e-05/0.7146, allocations: 11.98 kB / 1.021 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.7147, allocations: 44.75 kB / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.7147, allocations: 0 / 1.021 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001937/0.7149, allocations: 77.61 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.7149, allocations: 4 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.715, allocations: 3.984 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.715, allocations: 0 / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.029e-05/0.7151, allocations: 8 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.7151, allocations: 0 / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.928e-05/0.7151, allocations: 7.984 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.7151, allocations: 0 / 1.021 GB, free: 15.11 MB / 0.7794 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.994e-05/0.7152, allocations: 114.3 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.63e-05/0.7152, allocations: 7.906 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000228/0.7155, allocations: 72.72 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.7155, allocations: 3.984 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.7155, allocations: 0 / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.7155, allocations: 0 / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.7157, allocations: 157.6 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.7157, allocations: 4 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.815e-05/0.7157, allocations: 16.02 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.7157, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.7158, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.7158, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.7158, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/0.716, allocations: 167.4 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.588e-05/0.716, allocations: 85.14 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.7161, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.92e-05/0.7161, allocations: 7.984 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.124e-05/0.7162, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.7162, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.482e-05/0.7162, allocations: 83.27 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7162, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002193/0.7165, allocations: 8 kB / 1.021 GB, free: 14.29 MB / 0.7794 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.0001294/0.7166, allocations: 105.2 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001973/0.7168, allocations: 31.97 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.7168, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.788e-05/0.7169, allocations: 23.91 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.7172, allocations: 11.88 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003016/0.7175, allocations: 141.2 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002222/0.7177, allocations: 0.677 MB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.865e-05/0.7178, allocations: 11.44 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of SimCode: time 4.3e-07/0.7178, allocations: 0 / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of Templates: time 0.001728/0.7195, allocations: 0.5362 MB / 1.023 GB, free: 12.7 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches