Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Log10,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Log10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Log10,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Log10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001668/0.001669, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001889/0.001889, allocations: 193.1 kB / 16.25 MB, free: 6.637 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.253/1.253, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.543/2.543, allocations: 461.9 MB / 0.7344 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 65.52 kB / 0.8987 GB, free: 37.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2575, allocations: 157.4 MB / 1.052 GB, free: 8.68 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log10): time 0.001725/0.2593, allocations: 0.7262 MB / 1.053 GB, free: 7.953 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007789/0.2601, allocations: 0.8118 MB / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.788e-05/0.2601, allocations: 4 kB / 1.054 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.844e-05/0.2602, allocations: 0 / 1.054 GB, free: 7.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.427e-05/0.2602, allocations: 7.922 kB / 1.054 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001169/0.2603, allocations: 4 kB / 1.054 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.706e-05/0.2604, allocations: 19.98 kB / 1.054 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.871e-05/0.2605, allocations: 8 kB / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.941e-05/0.2606, allocations: 11.88 kB / 1.054 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.197e-05/0.2606, allocations: 7.984 kB / 1.054 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.2606, allocations: 4 kB / 1.054 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.105e-06/0.2606, allocations: 7.938 kB / 1.054 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.2606, allocations: 7.938 kB / 1.054 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.625e-05/0.2607, allocations: 15.97 kB / 1.054 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.072e-05/0.2607, allocations: 19.91 kB / 1.054 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2608, allocations: 0 / 1.054 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2608, allocations: 0 / 1.054 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.2608, allocations: 0 / 1.054 GB, free: 7.012 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.0003691/0.2611, allocations: 335.8 kB / 1.054 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.2612, allocations: 12.62 kB / 1.054 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.246e-05/0.2612, allocations: 34.75 kB / 1.054 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.243e-05/0.2612, allocations: 4.844 kB / 1.054 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.527e-05/0.2613, allocations: 164.4 kB / 1.055 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.2614, allocations: 384 / 1.055 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.786e-06/0.2614, allocations: 4.359 kB / 1.055 GB, free: 6.371 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.2615, allocations: 50.19 kB / 1.055 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.2616, allocations: 3.938 kB / 1.055 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-06/0.2616, allocations: 0 / 1.055 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.2616, allocations: 0 / 1.055 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001524/0.2617, allocations: 43.89 kB / 1.055 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002848/0.262, allocations: 244.9 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.2621, allocations: 42.53 kB / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.928e-05/0.2622, allocations: 24.91 kB / 1.055 GB, free: 5.902 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.2623, allocations: 7.938 kB / 1.055 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.2623, allocations: 30.56 kB / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.2623, allocations: 0 / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003086/0.2626, allocations: 81.64 kB / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.092e-05/0.2626, allocations: 51.41 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.114e-05/0.2627, allocations: 102 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.162e-05/0.2627, allocations: 29.7 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.711e-05/0.2628, allocations: 84.14 kB / 1.055 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.377e-05/0.2628, allocations: 3.906 kB / 1.055 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.764e-05/0.2628, allocations: 9.719 kB / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.925e-05/0.2629, allocations: 318.8 kB / 1.056 GB, free: 5.137 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.673e-05/0.263, allocations: 19.91 kB / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.438e-05/0.2631, allocations: 19.98 kB / 1.056 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.2632, allocations: 36.83 kB / 1.056 GB, free: 5.059 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.2632, allocations: 3.938 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001786/0.2634, allocations: 69.56 kB / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.2634, allocations: 4 kB / 1.056 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.2634, allocations: 4.094 kB / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.2634, allocations: 0 / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.264e-05/0.2635, allocations: 11.98 kB / 1.056 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.2635, allocations: 3.938 kB / 1.056 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.424e-05/0.2636, allocations: 7.984 kB / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.2636, allocations: 0 / 1.056 GB, free: 4.949 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.997e-05/0.2637, allocations: 117.7 kB / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.282e-05/0.2637, allocations: 4 kB / 1.056 GB, free: 4.82 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002034/0.2639, allocations: 68.78 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.2639, allocations: 0 / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.2639, allocations: 0 / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.2639, allocations: 192 / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001315/0.2641, allocations: 165.6 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.2641, allocations: 0 / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.605e-05/0.2641, allocations: 4 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.2641, allocations: 7.922 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.2642, allocations: 12.02 kB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.2642, allocations: 4 kB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2642, allocations: 0 / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/0.2644, allocations: 163.4 kB / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.022e-05/0.2644, allocations: 81.02 kB / 1.056 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.2644, allocations: 0 / 1.056 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.012e-05/0.2645, allocations: 8.031 kB / 1.056 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.964e-05/0.2645, allocations: 7.984 kB / 1.056 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.2646, allocations: 4 kB / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.033e-05/0.2646, allocations: 79.28 kB / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2646, allocations: 0 / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002066/0.2648, allocations: 7.938 kB / 1.057 GB, free: 4.133 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 (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.0004656/0.2653, allocations: 0.7007 MB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001868/0.2655, allocations: 35.95 kB / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2655, allocations: 0 / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.981e-05/0.2656, allocations: 24.08 kB / 1.057 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.2658, allocations: 4 kB / 1.057 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003521/0.2662, allocations: 135.2 kB / 1.057 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001866/0.2664, allocations: 0.6729 MB / 1.058 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.027e-05/0.2664, allocations: 0 / 1.058 GB, free: 2.469 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.41e-05/0.2665, allocations: 15.42 kB / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of SimCode: time 2.61e-07/0.2665, allocations: 4.062 kB / 1.058 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.114/2.38, allocations: 1.129 MB / 1.059 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001941/2.38, allocations: 200.4 kB / 1.059 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.738/4.118, allocations: 0 / 1.059 GB, free: 1.188 MB / 0.8106 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Log10_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Log10.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Log10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches