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.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: "" <> 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.000849/0.000849, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005335/0.005335, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.233/1.233, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.297/2.297, allocations: 437.8 MB / 0.7121 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002877/0.0002877, allocations: 16 kB / 0.873 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4996/0.4999, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log10): time 0.0006311/0.5005, allocations: 398.4 kB / 1.024 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0007313/0.5013, allocations: 0.7962 MB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.909e-05/0.5013, allocations: 0 / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.247e-06/0.5013, allocations: 0 / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.065e-05/0.5014, allocations: 7.922 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 8.715e-05/0.5015, allocations: 11.98 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 3.79e-05/0.5015, allocations: 12 kB / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.407e-05/0.5016, allocations: 15.98 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.985e-05/0.5016, allocations: 11.88 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.66e-05/0.5017, allocations: 7.984 kB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.113e-05/0.5017, allocations: 4 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.731e-06/0.5017, allocations: 0 / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.043e-05/0.5017, allocations: 3.938 kB / 1.024 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.671e-05/0.5017, allocations: 29.7 kB / 1.024 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 5.347e-05/0.5018, allocations: 31.88 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.5018, allocations: 0 / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd: time 9.92e-07/0.5018, allocations: 4 kB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.995e-06/0.5018, allocations: 0 / 1.024 GB, free: 14.52 MB / 0.7794 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.0003182/0.5021, allocations: 337.8 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/0.5022, allocations: 8.031 kB / 1.025 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.518e-05/0.5022, allocations: 30.75 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.726e-05/0.5022, allocations: 4.938 kB / 1.025 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.998e-05/0.5023, allocations: 164.3 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.434e-06/0.5023, allocations: 4.375 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-06/0.5023, allocations: 4.375 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.5025, allocations: 54.23 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.5025, allocations: 7.875 kB / 1.025 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.232e-06/0.5025, allocations: 3.938 kB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.996e-06/0.5025, allocations: 0 / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001691/0.5027, allocations: 47.95 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002382/0.5029, allocations: 241 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.5031, allocations: 46.5 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.605e-05/0.5032, allocations: 32.89 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.5032, allocations: 3.938 kB / 1.025 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.5032, allocations: 34.5 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 2.084e-06/0.5032, allocations: 3.984 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003137/0.5035, allocations: 101.6 kB / 1.026 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.5036, allocations: 51.41 kB / 1.026 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.269e-05/0.5036, allocations: 102 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.5036, allocations: 25.7 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.179e-05/0.5037, allocations: 88.12 kB / 1.026 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.228e-05/0.5037, allocations: 7.844 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.859e-05/0.5037, allocations: 9.719 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.436e-05/0.5038, allocations: 314.8 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.756e-05/0.5039, allocations: 23.98 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.323e-05/0.504, allocations: 27.91 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.5041, allocations: 52.89 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.5041, allocations: 3.938 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001833/0.5043, allocations: 73.66 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.5044, allocations: 5.875 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-06/0.5044, allocations: 0 / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.213e-06/0.5044, allocations: 4.031 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.139e-05/0.5044, allocations: 8 kB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.5045, allocations: 3.984 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.413e-05/0.5045, allocations: 8 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-06/0.5045, allocations: 0 / 1.026 GB, free: 12.39 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.464e-05/0.5046, allocations: 117.8 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.168e-05/0.5046, allocations: 7.844 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002082/0.5048, allocations: 84.77 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.5048, allocations: 0 / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.5048, allocations: 0 / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-06/0.5048, allocations: 0 / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/0.505, allocations: 157.6 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.505, allocations: 8.031 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.52e-05/0.5051, allocations: 11.98 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.5051, allocations: 4 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.5051, allocations: 0 / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.5051, allocations: 0 / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.5051, allocations: 3.938 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002205/0.5053, allocations: 183.3 kB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.32e-05/0.5054, allocations: 81.11 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.466e-06/0.5054, allocations: 0 / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.217e-05/0.5054, allocations: 7.984 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.688e-05/0.5055, allocations: 8.031 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.5055, allocations: 0 / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.071e-05/0.5055, allocations: 87.27 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5055, allocations: 0 / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001929/0.5057, allocations: 4 kB / 1.027 GB, free: 11.54 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.0004598/0.5062, allocations: 0.7124 MB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001795/0.5064, allocations: 47.98 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.5064, allocations: 0 / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.272e-05/0.5065, allocations: 23.98 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/0.5067, allocations: 4 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003032/0.507, allocations: 138.6 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001916/0.5072, allocations: 0.677 MB / 1.029 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.663e-05/0.5072, allocations: 0 / 1.029 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.831e-05/0.5073, allocations: 15.44 kB / 1.029 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.5073, allocations: 3.938 kB / 1.029 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.064/1.571, allocations: 1.005 MB / 1.03 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001815/1.572, allocations: 201.7 kB / 1.03 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.63/3.202, allocations: 0 / 1.03 GB, free: 8.68 MB / 0.7794 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=50 --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