Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",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.007774/0.007774, allocations: 103.5 kB / 15.73 MB, free: 6.039 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.00218/0.00218, allocations: 191.6 kB / 16.67 MB, free: 5.973 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.678/2.678, allocations: 437.1 MB / 0.7105 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 68.03 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3253, allocations: 151.6 MB / 1.166 GB, free: 7.297 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002201/0.3275, allocations: 0.8878 MB / 1.167 GB, free: 6.402 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0002034/0.3278, allocations: 55.77 kB / 1.167 GB, free: 6.348 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.055e-05/0.3279, allocations: 3.938 kB / 1.167 GB, free: 6.344 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.754e-05/0.3279, allocations: 11.88 kB / 1.167 GB, free: 6.332 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.587e-05/0.328, allocations: 11.86 kB / 1.167 GB, free: 6.32 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 7.947e-05/0.3281, allocations: 23.98 kB / 1.167 GB, free: 6.297 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.3283, allocations: 83.77 kB / 1.167 GB, free: 6.215 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001785/0.3285, allocations: 53.08 kB / 1.167 GB, free: 6.16 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.127e-05/0.3286, allocations: 23.88 kB / 1.167 GB, free: 6.137 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.867e-05/0.3286, allocations: 43.72 kB / 1.167 GB, free: 6.094 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.3287, allocations: 8 kB / 1.167 GB, free: 6.086 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.511e-05/0.3287, allocations: 8 kB / 1.167 GB, free: 6.078 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.757e-05/0.3287, allocations: 19.86 kB / 1.167 GB, free: 6.059 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.909e-05/0.3288, allocations: 43.73 kB / 1.167 GB, free: 6.016 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.3289, allocations: 98.42 kB / 1.168 GB, free: 5.922 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3289, allocations: 0 / 1.168 GB, free: 5.922 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3289, allocations: 0 / 1.168 GB, free: 5.922 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.413e-06/0.329, allocations: 4 kB / 1.168 GB, free: 5.918 MB / 0.92 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.0004756/0.3294, allocations: 396.2 kB / 1.168 GB, free: 5.48 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.3295, allocations: 12.03 kB / 1.168 GB, free: 5.469 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.439e-05/0.3295, allocations: 38.73 kB / 1.168 GB, free: 5.422 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.3296, allocations: 16.75 kB / 1.168 GB, free: 5.406 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.3298, allocations: 204.3 kB / 1.168 GB, free: 5.168 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.3299, allocations: 8.562 kB / 1.168 GB, free: 5.16 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.3299, allocations: 8.375 kB / 1.168 GB, free: 5.152 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.3301, allocations: 111.2 kB / 1.168 GB, free: 5.031 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.3301, allocations: 0 / 1.168 GB, free: 5.031 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.3301, allocations: 8 kB / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.3301, allocations: 0 / 1.168 GB, free: 5.023 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.138e-05/0.3302, allocations: 39.98 kB / 1.168 GB, free: 4.984 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005571/0.3308, allocations: 472.2 kB / 1.169 GB, free: 4.469 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.355e-05/0.3309, allocations: 45.14 kB / 1.169 GB, free: 4.406 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.874e-05/0.3309, allocations: 17.84 kB / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.616e-06/0.3309, allocations: 0 / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.3309, allocations: 38.5 kB / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.3309, allocations: 0 / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001859/0.3311, allocations: 61.53 kB / 1.169 GB, free: 4.27 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.3312, allocations: 77.11 kB / 1.169 GB, free: 4.176 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.3314, allocations: 182.6 kB / 1.169 GB, free: 3.984 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.3314, allocations: 25.7 kB / 1.169 GB, free: 3.953 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.692e-05/0.3315, allocations: 111.9 kB / 1.169 GB, free: 3.84 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 9.388e-06/0.3315, allocations: 7.922 kB / 1.169 GB, free: 3.832 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-05/0.3315, allocations: 21.88 kB / 1.169 GB, free: 3.805 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.3316, allocations: 326.8 kB / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.733e-05/0.3316, allocations: 4 kB / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.149e-05/0.3317, allocations: 17.72 kB / 1.17 GB, free: 3.449 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.007e-05/0.3317, allocations: 25.66 kB / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3317, allocations: 0 / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.458e-05/0.3318, allocations: 65.59 kB / 1.17 GB, free: 3.348 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.3318, allocations: 4 kB / 1.17 GB, free: 3.344 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3318, allocations: 0 / 1.17 GB, free: 3.344 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.3319, allocations: 4 kB / 1.17 GB, free: 3.34 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.468e-05/0.3319, allocations: 4 kB / 1.17 GB, free: 3.336 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.3319, allocations: 3.938 kB / 1.17 GB, free: 3.332 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.532e-05/0.332, allocations: 11.84 kB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.332, allocations: 3.984 kB / 1.17 GB, free: 3.316 MB / 0.92 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 7.911e-05/0.3321, allocations: 113.8 kB / 1.17 GB, free: 3.195 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.392e-05/0.3321, allocations: 15.97 kB / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.854e-05/0.3322, allocations: 12.66 kB / 1.17 GB, free: 3.168 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.3322, allocations: 4.203 kB / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.3322, allocations: 0 / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.3322, allocations: 7.875 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003797/0.3326, allocations: 478.8 kB / 1.17 GB, free: 2.625 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.3326, allocations: 4 kB / 1.17 GB, free: 2.621 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.052e-05/0.3326, allocations: 8.062 kB / 1.17 GB, free: 2.613 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.3326, allocations: 3.938 kB / 1.17 GB, free: 2.609 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.3326, allocations: 3.984 kB / 1.17 GB, free: 2.605 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.3327, allocations: 0 / 1.17 GB, free: 2.605 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3327, allocations: 0 / 1.17 GB, free: 2.605 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.373e-05/0.3327, allocations: 85.75 kB / 1.17 GB, free: 2.5 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.795e-05/0.3328, allocations: 89 kB / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.3328, allocations: 7.969 kB / 1.171 GB, free: 2.387 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.032e-05/0.3329, allocations: 0 / 1.171 GB, free: 2.387 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.615e-05/0.3329, allocations: 0 / 1.171 GB, free: 2.387 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-06/0.3329, allocations: 4 kB / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001177/0.333, allocations: 144.3 kB / 1.171 GB, free: 2.242 MB / 0.92 GB Notification: Performance of sort global known variables: time 4.81e-07/0.333, allocations: 0 / 1.171 GB, free: 2.242 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001955/0.3332, allocations: 8 kB / 1.171 GB, free: 2.234 MB / 0.92 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.0004325/0.3337, allocations: 0.6286 MB / 1.171 GB, free: 1.57 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001082/0.3338, allocations: 12 kB / 1.171 GB, free: 1.559 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3338, allocations: 0 / 1.171 GB, free: 1.559 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.346e-05/0.3338, allocations: 11.94 kB / 1.171 GB, free: 1.547 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001724/0.334, allocations: 8.281 kB / 1.171 GB, free: 1.539 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.3354, allocations: 1.396 MB / 1.173 GB, free: 52 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.3356, allocations: 0.7002 MB / 1.173 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.295e-05/0.3357, allocations: 12.55 kB / 1.173 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.934e-05/0.3357, allocations: 27.42 kB / 1.173 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of SimCode: time 1.433e-06/0.3357, allocations: 0 / 1.173 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01717/0.3529, allocations: 1.737 MB / 1.175 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.666/8.019, allocations: 12.02 kB / 1.175 GB, free: 13.64 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_degC_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_degC.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches