Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Log10,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Log10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Log10,fileNamePrefix="Buildings_10_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.00515/0.00515, allocations: 100.2 kB / 15.73 MB, free: 6.062 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.001336/0.001336, allocations: 189.1 kB / 16.67 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.307/2.307, allocations: 437.1 MB / 0.7105 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001773/0.001773, allocations: 67.89 kB / 1.018 GB, free: 9.789 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6108/0.6126, allocations: 151.6 MB / 1.166 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log10): time 0.001496/0.6141, allocations: 0.6709 MB / 1.167 GB, free: 3.102 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0007747/0.6149, allocations: 0.8079 MB / 1.168 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.469e-05/0.6149, allocations: 0 / 1.168 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.248e-05/0.615, allocations: 0 / 1.168 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.511e-05/0.615, allocations: 3.938 kB / 1.168 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001006/0.6151, allocations: 4 kB / 1.168 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.362e-05/0.6152, allocations: 31.92 kB / 1.168 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 7.143e-05/0.6153, allocations: 0 / 1.168 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.037e-05/0.6153, allocations: 19.91 kB / 1.168 GB, free: 2.223 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 3.617e-05/0.6154, allocations: 11.98 kB / 1.168 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.6154, allocations: 8 kB / 1.168 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.093e-06/0.6154, allocations: 0 / 1.168 GB, free: 2.203 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.6154, allocations: 3.938 kB / 1.168 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.205e-05/0.6155, allocations: 8 kB / 1.168 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 6.244e-05/0.6155, allocations: 19.91 kB / 1.168 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.6155, allocations: 0 / 1.168 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.062e-06/0.6155, allocations: 0 / 1.168 GB, free: 2.172 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.898e-06/0.6155, allocations: 0 / 1.168 GB, free: 2.172 MB / 0.8887 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.0003852/0.6159, allocations: 339.1 kB / 1.168 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.616, allocations: 16.92 kB / 1.168 GB, free: 1.777 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.493e-05/0.616, allocations: 30.75 kB / 1.168 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.869e-05/0.616, allocations: 4.922 kB / 1.168 GB, free: 1.734 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.6161, allocations: 172.3 kB / 1.168 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.6162, allocations: 4.375 kB / 1.168 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.851e-06/0.6162, allocations: 384 / 1.168 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.6163, allocations: 50.23 kB / 1.168 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.6163, allocations: 3.938 kB / 1.168 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.861e-06/0.6164, allocations: 0 / 1.168 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.267e-06/0.6164, allocations: 4 kB / 1.168 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001549/0.6165, allocations: 31.97 kB / 1.168 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002736/0.6168, allocations: 260.8 kB / 1.169 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.6169, allocations: 40.94 kB / 1.169 GB, free: 1.078 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.896e-05/0.617, allocations: 20.91 kB / 1.169 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.617, allocations: 7.984 kB / 1.169 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.6171, allocations: 34.56 kB / 1.169 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.6171, allocations: 0 / 1.169 GB, free: 1.004 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0003104/0.6174, allocations: 81.58 kB / 1.169 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.6174, allocations: 55.53 kB / 1.169 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.966e-05/0.6175, allocations: 97.86 kB / 1.169 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.6175, allocations: 29.64 kB / 1.169 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.139e-05/0.6176, allocations: 80.14 kB / 1.169 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.6176, allocations: 11.95 kB / 1.169 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.74e-05/0.6176, allocations: 13.7 kB / 1.169 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.6177, allocations: 310.8 kB / 1.169 GB, free: 292 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.758e-05/0.6178, allocations: 23.98 kB / 1.169 GB, free: 268 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.529e-05/0.6179, allocations: 11.98 kB / 1.169 GB, free: 256 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.618, allocations: 40.81 kB / 1.169 GB, free: 212 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.6181, allocations: 3.938 kB / 1.169 GB, free: 208 kB / 0.8887 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001775/0.6182, allocations: 73.56 kB / 1.17 GB, free: 128 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.6183, allocations: 12.08 kB / 1.17 GB, free: 116 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.846e-06/0.6183, allocations: 0 / 1.17 GB, free: 116 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.376e-06/0.6183, allocations: 0 / 1.17 GB, free: 116 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.183e-05/0.6184, allocations: 8 kB / 1.17 GB, free: 108 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.6184, allocations: 0 / 1.17 GB, free: 108 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.426e-05/0.6184, allocations: 7.984 kB / 1.17 GB, free: 100 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.087e-06/0.6184, allocations: 0 / 1.17 GB, free: 100 kB / 0.8887 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.867e-05/0.6185, allocations: 109.8 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.123e-05/0.6185, allocations: 8 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002059/0.6187, allocations: 76.89 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.6188, allocations: 3.984 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.6188, allocations: 0 / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.6188, allocations: 0 / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.6189, allocations: 157.6 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.6189, allocations: 4 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.58e-05/0.619, allocations: 11.98 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.619, allocations: 4.031 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-06/0.619, allocations: 3.938 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.619, allocations: 0 / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.619, allocations: 4 kB / 1.17 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002179/0.6192, allocations: 159.5 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.058e-05/0.6193, allocations: 89 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.327e-06/0.6193, allocations: 4.031 kB / 1.17 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.948e-05/0.6194, allocations: 7.984 kB / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.347e-05/0.6194, allocations: 0 / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.6194, allocations: 0 / 1.17 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.251e-05/0.6195, allocations: 87.27 kB / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6195, allocations: 0 / 1.17 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001902/0.6197, allocations: 4 kB / 1.17 GB, free: 15.27 MB / 0.9044 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.0005025/0.6202, allocations: 0.6968 MB / 1.171 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001823/0.6204, allocations: 39.84 kB / 1.171 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.6204, allocations: 0 / 1.171 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 7.934e-05/0.6205, allocations: 24.06 kB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.6207, allocations: 8 kB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003155/0.621, allocations: 127 kB / 1.171 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.6213, allocations: 0.6768 MB / 1.172 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.715e-05/0.6213, allocations: 0 / 1.172 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.656e-05/0.6213, allocations: 7.438 kB / 1.172 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/0.6213, allocations: 4.062 kB / 1.172 GB, free: 13.6 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3026/0.9239, allocations: 1.274 MB / 1.173 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.159/9.083, allocations: 7.938 kB / 1.173 GB, free: 12.4 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Log10_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Log10.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches