Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 89.89 kB / 15.36 MB, free: 0.7344 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.01027/0.01027, allocations: 169.5 kB / 16.26 MB, free: 6.68 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.542/1.542, 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 11.1.0-maint.11.x/package.mo): time 3.2/3.2, allocations: 470.6 MB / 0.7442 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003533/0.0003536, allocations: 10.19 kB / 0.9123 GB, free: 34.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3858/0.3862, allocations: 161.4 MB / 1.07 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.001286/0.3875, allocations: 0.586 MB / 1.07 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001501/0.3877, allocations: 55.72 kB / 1.071 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.825e-05/0.3878, allocations: 0 / 1.071 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.417e-05/0.3878, allocations: 7.922 kB / 1.071 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.841e-05/0.3879, allocations: 7.938 kB / 1.071 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.549e-05/0.388, allocations: 19.98 kB / 1.071 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.3881, allocations: 75.78 kB / 1.071 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001951/0.3883, allocations: 49.06 kB / 1.071 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.599e-05/0.3884, allocations: 31.8 kB / 1.071 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.024e-05/0.3884, allocations: 23.8 kB / 1.071 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.3885, allocations: 4 kB / 1.071 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.354e-06/0.3885, allocations: 0 / 1.071 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.058e-05/0.3885, allocations: 7.938 kB / 1.071 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.7e-05/0.3886, allocations: 65.38 kB / 1.071 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.3887, allocations: 95.8 kB / 1.071 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.3887, allocations: 3.938 kB / 1.071 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3887, allocations: 0 / 1.071 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.3887, allocations: 0 / 1.071 GB, free: 10.35 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005052/0.3892, allocations: 375.5 kB / 1.071 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.3893, allocations: 15.95 kB / 1.071 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.914e-05/0.3894, allocations: 16.75 kB / 1.071 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.3896, allocations: 196.4 kB / 1.071 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.3896, allocations: 4.562 kB / 1.071 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.3897, allocations: 20.31 kB / 1.071 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002091/0.3899, allocations: 103.5 kB / 1.072 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.3899, allocations: 4 kB / 1.072 GB, free: 9.531 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.3899, allocations: 4 kB / 1.072 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.3899, allocations: 4 kB / 1.072 GB, free: 9.523 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.487e-05/0.39, allocations: 39.98 kB / 1.072 GB, free: 9.484 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006378/0.3907, allocations: 476.2 kB / 1.072 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.626e-05/0.3908, allocations: 45.22 kB / 1.072 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.352e-05/0.3908, allocations: 25.7 kB / 1.072 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.3908, allocations: 4 kB / 1.072 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.3909, allocations: 30.56 kB / 1.072 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.3909, allocations: 0 / 1.072 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001817/0.3911, allocations: 57.55 kB / 1.072 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.71e-05/0.3911, allocations: 77.11 kB / 1.072 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.3913, allocations: 178.7 kB / 1.072 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.3914, allocations: 29.7 kB / 1.073 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.288e-05/0.3915, allocations: 111.9 kB / 1.073 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.085e-06/0.3915, allocations: 3.906 kB / 1.073 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-05/0.3915, allocations: 9.719 kB / 1.073 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.3917, allocations: 331 kB / 1.073 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.925e-05/0.3917, allocations: 8 kB / 1.073 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.605e-05/0.3917, allocations: 21.7 kB / 1.073 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.601e-05/0.3918, allocations: 25.66 kB / 1.073 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3918, allocations: 0 / 1.073 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.118e-05/0.3919, allocations: 61.59 kB / 1.073 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.3919, allocations: 12 kB / 1.073 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3919, allocations: 0 / 1.073 GB, free: 7.84 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.3919, allocations: 4 kB / 1.073 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.053e-05/0.392, allocations: 4 kB / 1.073 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.392, allocations: 0 / 1.073 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.734e-05/0.392, allocations: 15.78 kB / 1.073 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/0.3921, allocations: 0 / 1.073 GB, free: 7.816 MB / 0.8262 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.0001058/0.3922, allocations: 113.8 kB / 1.073 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.891e-05/0.3922, allocations: 11.91 kB / 1.073 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.808e-05/0.3923, allocations: 24.48 kB / 1.073 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.3923, allocations: 0 / 1.073 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3923, allocations: 0 / 1.073 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.3923, allocations: 8.016 kB / 1.073 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004482/0.3927, allocations: 474.8 kB / 1.074 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3928, allocations: 0 / 1.074 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.924e-05/0.3928, allocations: 4 kB / 1.074 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3928, allocations: 4.062 kB / 1.074 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.3928, allocations: 4.047 kB / 1.074 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3928, allocations: 3.938 kB / 1.074 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3928, allocations: 0 / 1.074 GB, free: 7.113 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001106/0.3929, allocations: 89.73 kB / 1.074 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.572e-05/0.393, allocations: 89 kB / 1.074 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.393, allocations: 3.938 kB / 1.074 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.022e-05/0.3931, allocations: 4.031 kB / 1.074 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.595e-05/0.3931, allocations: 4 kB / 1.074 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/0.3931, allocations: 0 / 1.074 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001317/0.3932, allocations: 136.3 kB / 1.074 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3932, allocations: 0 / 1.074 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001916/0.3934, allocations: 11.94 kB / 1.074 GB, free: 6.742 MB / 0.8262 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.0001482/0.3936, allocations: 99.23 kB / 1.074 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.119e-05/0.3937, allocations: 23.94 kB / 1.074 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3937, allocations: 0 / 1.074 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.05e-05/0.3937, allocations: 4 kB / 1.074 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001759/0.3939, allocations: 8 kB / 1.074 GB, free: 6.598 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004051/0.3943, allocations: 216.7 kB / 1.074 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/0.3947, allocations: 0.7003 MB / 1.075 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.1e-05/0.3947, allocations: 12.55 kB / 1.075 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.986e-05/0.3948, allocations: 15.44 kB / 1.075 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.3948, allocations: 0 / 1.075 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of Templates: time 0.002958/0.3977, allocations: 484.5 kB / 1.076 GB, free: 5.125 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.makefile (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches