Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.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.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",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.00178/0.001781, 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.002536/0.002536, allocations: 188.5 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 2.134/2.134, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.301/4.301, allocations: 461.9 MB / 0.7343 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002453/0.002453, allocations: 66.28 kB / 0.8987 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.381, allocations: 157.4 MB / 1.052 GB, free: 8.68 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.003376/0.3844, allocations: 0.8919 MB / 1.053 GB, free: 7.785 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001802/0.3846, allocations: 43.78 kB / 1.053 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.453e-05/0.3847, allocations: 0 / 1.053 GB, free: 7.742 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.689e-05/0.3848, allocations: 7.922 kB / 1.053 GB, free: 7.734 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.3849, allocations: 3.938 kB / 1.053 GB, free: 7.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 7.259e-05/0.385, allocations: 12 kB / 1.053 GB, free: 7.719 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000159/0.3852, allocations: 63.84 kB / 1.053 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002018/0.3854, allocations: 43.97 kB / 1.053 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.357e-05/0.3855, allocations: 31.8 kB / 1.053 GB, free: 7.582 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.121e-05/0.3856, allocations: 23.86 kB / 1.054 GB, free: 7.559 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.09e-05/0.3857, allocations: 11.94 kB / 1.054 GB, free: 7.547 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.654e-05/0.3857, allocations: 8 kB / 1.054 GB, free: 7.539 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.334e-05/0.3857, allocations: 19.92 kB / 1.054 GB, free: 7.52 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.616e-05/0.3858, allocations: 43.72 kB / 1.054 GB, free: 7.477 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.386, allocations: 64 kB / 1.054 GB, free: 7.414 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.386, allocations: 0 / 1.054 GB, free: 7.414 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.465e-06/0.386, allocations: 0 / 1.054 GB, free: 7.414 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.386, allocations: 0 / 1.054 GB, free: 7.414 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005982/0.3866, allocations: 371.3 kB / 1.054 GB, free: 7 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.3867, allocations: 12.61 kB / 1.054 GB, free: 6.988 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.292e-05/0.3868, allocations: 38.75 kB / 1.054 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.051e-05/0.3868, allocations: 12.84 kB / 1.054 GB, free: 6.93 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002832/0.3871, allocations: 208.1 kB / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.3871, allocations: 4.281 kB / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.3872, allocations: 12.38 kB / 1.054 GB, free: 6.672 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002273/0.3874, allocations: 85.67 kB / 1.054 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.3874, allocations: 7.875 kB / 1.054 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.3875, allocations: 4 kB / 1.054 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.3875, allocations: 4 kB / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.3876, allocations: 39.98 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007562/0.3884, allocations: 432.7 kB / 1.055 GB, free: 6.047 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.021e-05/0.3885, allocations: 41.14 kB / 1.055 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.704e-05/0.3886, allocations: 21.78 kB / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.3886, allocations: 4 kB / 1.055 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.3886, allocations: 34.5 kB / 1.055 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 5.511e-06/0.3887, allocations: 3.984 kB / 1.055 GB, free: 5.91 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002576/0.3889, allocations: 57.53 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.951e-05/0.389, allocations: 85.3 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/0.3892, allocations: 158.2 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.3893, allocations: 25.7 kB / 1.055 GB, free: 5.551 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.573e-05/0.3894, allocations: 104 kB / 1.055 GB, free: 5.445 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.416e-05/0.3894, allocations: 7.891 kB / 1.055 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.552e-05/0.3895, allocations: 17.72 kB / 1.055 GB, free: 5.414 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.3896, allocations: 314.8 kB / 1.056 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.122e-05/0.3896, allocations: 7.984 kB / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.069e-05/0.3897, allocations: 21.72 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.656e-05/0.3898, allocations: 25.72 kB / 1.056 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.3898, allocations: 4 kB / 1.056 GB, free: 5.027 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001556/0.39, allocations: 61.53 kB / 1.056 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/0.39, allocations: 7.938 kB / 1.056 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.39, allocations: 7.938 kB / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.3901, allocations: 4.062 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.259e-05/0.3902, allocations: 4 kB / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.3902, allocations: 0 / 1.056 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.308e-05/0.3903, allocations: 11.84 kB / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.3903, allocations: 3.938 kB / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 0.0001344/0.3904, allocations: 113.8 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.017e-05/0.3905, allocations: 19.77 kB / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.956e-05/0.3906, allocations: 11.88 kB / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.3906, allocations: 0 / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.3906, allocations: 4 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.3906, allocations: 0 / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000626/0.3913, allocations: 466.8 kB / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.3913, allocations: 0 / 1.056 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.077e-05/0.3913, allocations: 4 kB / 1.056 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.3913, allocations: 0 / 1.056 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.3914, allocations: 7.984 kB / 1.056 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.3914, allocations: 4.062 kB / 1.056 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.3914, allocations: 0 / 1.056 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001345/0.3915, allocations: 81.78 kB / 1.056 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.735e-05/0.3916, allocations: 89 kB / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.3917, allocations: 0 / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.768e-05/0.3917, allocations: 0 / 1.057 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.855e-05/0.3917, allocations: 8.031 kB / 1.057 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.3918, allocations: 0 / 1.057 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001508/0.3919, allocations: 126.1 kB / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3e-07/0.3919, allocations: 0 / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003734/0.3923, allocations: 8 kB / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0005418/0.3929, allocations: 0.6132 MB / 1.057 GB, free: 3.242 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001266/0.393, allocations: 19.94 kB / 1.057 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.393, allocations: 0 / 1.057 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.374e-05/0.3931, allocations: 7.984 kB / 1.057 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.3933, allocations: 8 kB / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/0.3952, allocations: 1.342 MB / 1.059 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.3955, allocations: 0.6924 MB / 1.059 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.355e-05/0.3956, allocations: 8.422 kB / 1.059 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.033e-05/0.3957, allocations: 27.42 kB / 1.059 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of SimCode: time 4.5e-07/0.3957, allocations: 3.938 kB / 1.059 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3211/0.7168, allocations: 1.474 MB / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003/0.7172, allocations: 214 kB / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.212/3.929, allocations: 3.938 kB / 1.061 GB, free: 15.42 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_quad_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_quad.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches