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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Log,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Log,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Log",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.0008868/0.0008868, allocations: 91.84 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.005036/0.005036, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.235/1.235, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.231/2.231, allocations: 437.8 MB / 0.7121 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003006/0.0003006, allocations: 16 kB / 0.873 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4839/0.4842, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.0006824/0.4849, allocations: 402.3 kB / 1.024 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0007276/0.4856, allocations: 0.8001 MB / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.26e-05/0.4857, allocations: 0 / 1.024 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.353e-05/0.4857, allocations: 3.938 kB / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.372e-05/0.4857, allocations: 3.938 kB / 1.024 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001004/0.4859, allocations: 4 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.102e-05/0.4859, allocations: 23.98 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.911e-05/0.486, allocations: 4 kB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.805e-05/0.486, allocations: 15.92 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.003e-05/0.4861, allocations: 4 kB / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.4861, allocations: 0 / 1.024 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.703e-06/0.4861, allocations: 3.938 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.596e-05/0.4861, allocations: 15.91 kB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.896e-05/0.4862, allocations: 29.7 kB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 5.19e-05/0.4862, allocations: 19.91 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.4862, allocations: 4 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4862, allocations: 0 / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.076e-06/0.4862, allocations: 0 / 1.024 GB, free: 14.54 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.0003412/0.4866, allocations: 339.3 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.4866, allocations: 12.03 kB / 1.025 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.753e-05/0.4867, allocations: 30.75 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.68e-05/0.4867, allocations: 0.9375 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.375e-05/0.4868, allocations: 172.3 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.4868, allocations: 4.375 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.492e-06/0.4868, allocations: 4.375 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.487, allocations: 58.22 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.487, allocations: 3.938 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.121e-06/0.487, allocations: 0 / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.387e-06/0.487, allocations: 0 / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001636/0.4872, allocations: 47.91 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002519/0.4874, allocations: 245 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.4876, allocations: 50.5 kB / 1.025 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.528e-05/0.4877, allocations: 28.84 kB / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.4877, allocations: 0 / 1.025 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.895e-05/0.4877, allocations: 34.55 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.4877, allocations: 3.938 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0003225/0.488, allocations: 93.66 kB / 1.026 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.4881, allocations: 55.41 kB / 1.026 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.7e-05/0.4881, allocations: 101.8 kB / 1.026 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.4882, allocations: 29.83 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.252e-05/0.4882, allocations: 80.14 kB / 1.026 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.4882, allocations: 11.84 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-05/0.4882, allocations: 13.72 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.035e-05/0.4883, allocations: 314.8 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.199e-05/0.4884, allocations: 19.98 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.369e-05/0.4885, allocations: 27.92 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.4887, allocations: 52.75 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.4887, allocations: 8 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001911/0.4889, allocations: 69.67 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.4889, allocations: 8 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.4889, allocations: 0 / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.4889, allocations: 4 kB / 1.026 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.985e-05/0.489, allocations: 16.02 kB / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.489, allocations: 0 / 1.026 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.836e-05/0.4891, allocations: 11.98 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.4891, allocations: 4 kB / 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 5.936e-05/0.4891, allocations: 110.3 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.314e-05/0.4892, allocations: 3.906 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002161/0.4894, allocations: 88.72 kB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.4894, allocations: 0 / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4894, allocations: 4 kB / 1.027 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.4894, allocations: 3.984 kB / 1.027 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.4895, allocations: 161.6 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.4896, allocations: 0 / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.82e-05/0.4896, allocations: 16.02 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.4896, allocations: 0 / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-06/0.4896, allocations: 0 / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.4896, allocations: 0 / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.4896, allocations: 3.938 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000222/0.4899, allocations: 183.4 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.588e-05/0.4899, allocations: 77.11 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.967e-06/0.4899, allocations: 0 / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.461e-05/0.49, allocations: 11.98 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.66e-05/0.49, allocations: 0 / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.49, allocations: 32 / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.197e-05/0.4901, allocations: 83.47 kB / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4901, allocations: 0 / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001977/0.4903, allocations: 4 kB / 1.027 GB, free: 11.55 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.0004464/0.4907, allocations: 0.7085 MB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001908/0.4909, allocations: 51.94 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.4909, allocations: 4 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.268e-05/0.491, allocations: 19.98 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002368/0.4913, allocations: 6.156 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003113/0.4916, allocations: 150.6 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001855/0.4918, allocations: 0.6731 MB / 1.029 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.73e-05/0.4918, allocations: 0 / 1.029 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.649e-05/0.4919, allocations: 11.42 kB / 1.029 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.4919, allocations: 0 / 1.029 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.296/1.787, allocations: 1.014 MB / 1.03 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001812/1.788, allocations: 199 kB / 1.03 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.739/3.527, allocations: 0 / 1.03 GB, free: 8.688 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Log_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Log.fmu > 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