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 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: "" <> 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.00467/0.00467, allocations: 101 kB / 15.73 MB, free: 6.043 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.001219/0.001219, allocations: 201 kB / 16.68 MB, free: 5.965 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.31/1.31, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.636/2.636, allocations: 482.6 MB / 0.755 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001783/0.001783, allocations: 67.89 kB / 1.083 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2764, allocations: 162.3 MB / 1.242 GB, free: 9.773 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log10): time 0.001631/0.278, allocations: 0.6662 MB / 1.243 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008082/0.2788, allocations: 0.8 MB / 1.243 GB, free: 8.301 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.665e-05/0.2789, allocations: 0 / 1.243 GB, free: 8.301 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.22e-05/0.2789, allocations: 4 kB / 1.243 GB, free: 8.297 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.936e-05/0.279, allocations: 7.922 kB / 1.243 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001089/0.2791, allocations: 7.984 kB / 1.243 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.397e-05/0.2791, allocations: 27.92 kB / 1.243 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.378e-05/0.2792, allocations: 0 / 1.243 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.806e-05/0.2793, allocations: 15.88 kB / 1.243 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.478e-05/0.2793, allocations: 7.984 kB / 1.243 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.2793, allocations: 4 kB / 1.243 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.263e-06/0.2794, allocations: 0 / 1.243 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.607e-05/0.2794, allocations: 7.938 kB / 1.243 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.734e-05/0.2794, allocations: 19.97 kB / 1.243 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 6.764e-05/0.2795, allocations: 19.91 kB / 1.243 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2795, allocations: 0 / 1.243 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2795, allocations: 0 / 1.243 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.712e-06/0.2795, allocations: 0 / 1.243 GB, free: 8.18 MB / 0.9981 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.0004082/0.2799, allocations: 335.5 kB / 1.244 GB, free: 7.801 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.28, allocations: 12.03 kB / 1.244 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.997e-05/0.28, allocations: 30.75 kB / 1.244 GB, free: 7.75 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.715e-05/0.28, allocations: 4.938 kB / 1.244 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.2801, allocations: 172.3 kB / 1.244 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.2801, allocations: 384 / 1.244 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.266e-06/0.2802, allocations: 4.312 kB / 1.244 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.2803, allocations: 50.23 kB / 1.244 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.2803, allocations: 3.938 kB / 1.244 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.622e-06/0.2803, allocations: 0 / 1.244 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.2803, allocations: 0 / 1.244 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001612/0.2805, allocations: 39.95 kB / 1.244 GB, free: 7.438 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002884/0.2808, allocations: 240.9 kB / 1.244 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.2809, allocations: 46.47 kB / 1.244 GB, free: 7.098 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.326e-05/0.281, allocations: 24.84 kB / 1.244 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.2811, allocations: 4 kB / 1.244 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.2811, allocations: 34.56 kB / 1.244 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.2811, allocations: 0 / 1.244 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003177/0.2814, allocations: 81.64 kB / 1.244 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.2815, allocations: 51.41 kB / 1.245 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.106e-05/0.2815, allocations: 105.8 kB / 1.245 GB, free: 6.762 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.2816, allocations: 29.83 kB / 1.245 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.02e-05/0.2816, allocations: 80.14 kB / 1.245 GB, free: 6.645 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/0.2816, allocations: 7.953 kB / 1.245 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.031e-05/0.2817, allocations: 13.72 kB / 1.245 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.2818, allocations: 314.8 kB / 1.245 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.462e-05/0.2819, allocations: 15.97 kB / 1.245 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.07e-05/0.2819, allocations: 15.98 kB / 1.245 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.2821, allocations: 40.89 kB / 1.245 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.2821, allocations: 3.938 kB / 1.245 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001865/0.2823, allocations: 69.61 kB / 1.245 GB, free: 6.148 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.2823, allocations: 4 kB / 1.245 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.2823, allocations: 3.938 kB / 1.245 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.2823, allocations: 8.156 kB / 1.245 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.937e-05/0.2824, allocations: 11.98 kB / 1.245 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.147e-06/0.2824, allocations: 0 / 1.245 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.529e-05/0.2825, allocations: 7.984 kB / 1.245 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.2825, allocations: 0 / 1.245 GB, free: 6.113 MB / 0.9981 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.052e-05/0.2826, allocations: 113.8 kB / 1.245 GB, free: 5.992 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.374e-05/0.2826, allocations: 7.984 kB / 1.245 GB, free: 5.984 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002149/0.2828, allocations: 72.78 kB / 1.245 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.2828, allocations: 4 kB / 1.245 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.2828, allocations: 0 / 1.245 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.2828, allocations: 0 / 1.245 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.283, allocations: 161.6 kB / 1.246 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.283, allocations: 4 kB / 1.246 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.5e-05/0.2831, allocations: 7.938 kB / 1.246 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.2831, allocations: 0 / 1.246 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.2831, allocations: 0 / 1.246 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.2831, allocations: 0 / 1.246 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/0.2831, allocations: 15.95 kB / 1.246 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.2833, allocations: 151.5 kB / 1.246 GB, free: 5.504 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.144e-05/0.2834, allocations: 89.05 kB / 1.246 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.01e-05/0.2834, allocations: 0 / 1.246 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.357e-05/0.2835, allocations: 8 kB / 1.246 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.962e-05/0.2835, allocations: 8.016 kB / 1.246 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.2835, allocations: 0 / 1.246 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.767e-05/0.2836, allocations: 79.28 kB / 1.246 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2836, allocations: 0 / 1.246 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002/0.2838, allocations: 4 kB / 1.246 GB, free: 5.301 MB / 0.9981 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.0005753/0.2843, allocations: 0.7012 MB / 1.247 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002012/0.2846, allocations: 35.95 kB / 1.247 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2846, allocations: 0 / 1.247 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.452e-05/0.2847, allocations: 19.98 kB / 1.247 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.2849, allocations: 19.55 kB / 1.247 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003444/0.2852, allocations: 135.1 kB / 1.247 GB, free: 4.328 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.2855, allocations: 0.6768 MB / 1.247 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.78e-05/0.2856, allocations: 0 / 1.247 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.064e-05/0.2856, allocations: 7.438 kB / 1.247 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of SimCode: time 2.31e-07/0.2856, allocations: 0 / 1.247 GB, free: 3.617 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.579/2.865, allocations: 1.274 MB / 1.249 GB, free: 2.426 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.68/16.54, allocations: 20.48 kB / 1.249 GB, free: 2.41 MB / 0.9981 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=400 --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