Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.To_degC,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_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.001697/0.001698, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002011/0.002011, allocations: 192.7 kB / 16.53 MB, free: 6.664 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.324/1.324, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.314/2.314, allocations: 390.2 MB / 0.6647 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 63.91 kB / 0.8127 GB, free: 14.38 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5459/0.5473, allocations: 140.4 MB / 0.9497 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.001801/0.5491, allocations: 0.8755 MB / 0.9506 GB, free: 8.523 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001049/0.5492, allocations: 49.62 kB / 0.9506 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.304e-05/0.5493, allocations: 1.375 kB / 0.9506 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.574e-05/0.5493, allocations: 17.3 kB / 0.9506 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.797e-05/0.5494, allocations: 11.88 kB / 0.9507 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.348e-05/0.5495, allocations: 20.45 kB / 0.9507 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.247e-05/0.5496, allocations: 81.77 kB / 0.9508 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.5497, allocations: 53.7 kB / 0.9508 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.366e-05/0.5498, allocations: 33.48 kB / 0.9508 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.601e-05/0.5498, allocations: 37.22 kB / 0.9509 GB, free: 8.297 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.836e-05/0.5498, allocations: 12.25 kB / 0.9509 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.208e-05/0.5498, allocations: 8.25 kB / 0.9509 GB, free: 8.293 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.986e-05/0.5499, allocations: 18.69 kB / 0.9509 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.907e-05/0.5499, allocations: 39.98 kB / 0.9509 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.106e-05/0.55, allocations: 94.41 kB / 0.951 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.55, allocations: 1.375 kB / 0.951 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.423e-06/0.55, allocations: 0 / 0.951 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.55, allocations: 0 / 0.951 GB, free: 8.172 MB / 0.7169 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.0003274/0.5504, allocations: 404 kB / 0.9514 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.5504, allocations: 13.62 kB / 0.9514 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.72e-05/0.5504, allocations: 41.5 kB / 0.9515 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.632e-05/0.5505, allocations: 10.34 kB / 0.9515 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.5506, allocations: 201 kB / 0.9517 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.5507, allocations: 9.531 kB / 0.9517 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.5507, allocations: 14.16 kB / 0.9517 GB, free: 7.465 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.5508, allocations: 106.2 kB / 0.9518 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.5508, allocations: 5.406 kB / 0.9518 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.5508, allocations: 4 kB / 0.9518 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.5509, allocations: 6.375 kB / 0.9518 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.847e-05/0.5509, allocations: 43.91 kB / 0.9519 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000407/0.5514, allocations: 465.2 kB / 0.9523 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.02e-05/0.5514, allocations: 45.53 kB / 0.9523 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.958e-05/0.5514, allocations: 19.28 kB / 0.9524 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.167e-06/0.5515, allocations: 3.938 kB / 0.9524 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.142e-05/0.5515, allocations: 32.06 kB / 0.9524 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.5515, allocations: 0 / 0.9524 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001445/0.5516, allocations: 60.31 kB / 0.9525 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.238e-05/0.5517, allocations: 78.33 kB / 0.9525 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.5518, allocations: 193.9 kB / 0.9527 GB, free: 6.473 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.261e-06/0.5518, allocations: 25.7 kB / 0.9527 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.258e-05/0.5518, allocations: 109.7 kB / 0.9528 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.885e-06/0.5519, allocations: 5 kB / 0.9528 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/0.5519, allocations: 21.28 kB / 0.9529 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.139e-05/0.5519, allocations: 321.8 kB / 0.9532 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.682e-05/0.552, allocations: 11.38 kB / 0.9532 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.62e-05/0.552, allocations: 18.23 kB / 0.9532 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.322e-05/0.552, allocations: 30.59 kB / 0.9532 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.552, allocations: 0 / 0.9532 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.114e-05/0.5521, allocations: 52.45 kB / 0.9533 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.5521, allocations: 5.344 kB / 0.9533 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.5521, allocations: 4.062 kB / 0.9533 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.5521, allocations: 5.578 kB / 0.9533 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.408e-05/0.5522, allocations: 8.906 kB / 0.9533 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.5522, allocations: 1.312 kB / 0.9533 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.163e-05/0.5522, allocations: 14.53 kB / 0.9533 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-06/0.5523, allocations: 5.562 kB / 0.9533 GB, free: 5.867 MB / 0.7169 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 4.722e-05/0.5523, allocations: 117.8 kB / 0.9534 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.379e-05/0.5524, allocations: 8.219 kB / 0.9534 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.954e-05/0.5524, allocations: 17.25 kB / 0.9535 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.5524, allocations: 4 kB / 0.9535 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.5524, allocations: 0.875 kB / 0.9535 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.5524, allocations: 5.312 kB / 0.9535 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002525/0.5527, allocations: 480.5 kB / 0.9539 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.5527, allocations: 1.438 kB / 0.9539 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.796e-05/0.5527, allocations: 2.219 kB / 0.9539 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.5527, allocations: 5.438 kB / 0.9539 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.609e-06/0.5527, allocations: 4.062 kB / 0.9539 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.5527, allocations: 1.688 kB / 0.9539 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.5527, allocations: 7.922 kB / 0.954 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.497e-05/0.5528, allocations: 78.89 kB / 0.954 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.04e-05/0.5528, allocations: 89.83 kB / 0.9541 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.5528, allocations: 5.156 kB / 0.9541 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.175e-05/0.5529, allocations: 8.016 kB / 0.9541 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.34e-05/0.5529, allocations: 1 kB / 0.9541 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.5529, allocations: 2.156 kB / 0.9541 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.371e-05/0.553, allocations: 131 kB / 0.9543 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.553, allocations: 0 / 0.9543 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001935/0.5532, allocations: 11.81 kB / 0.9543 GB, free: 4.902 MB / 0.7169 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.0001901/0.5534, allocations: 0.6265 MB / 0.9549 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.716e-05/0.5535, allocations: 18.61 kB / 0.9549 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.5535, allocations: 0 / 0.9549 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.101e-05/0.5535, allocations: 12.31 kB / 0.9549 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.5536, allocations: 8.938 kB / 0.9549 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008579/0.5545, allocations: 1.398 MB / 0.9563 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.119e-05/0.5546, allocations: 0.6975 MB / 0.957 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.338e-05/0.5546, allocations: 9.609 kB / 0.957 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.015e-05/0.5547, allocations: 24.31 kB / 0.957 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of SimCode: time 2.5e-07/0.5547, allocations: 0 / 0.957 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01556/0.5703, allocations: 1.703 MB / 0.9587 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.215/7.786, allocations: 3.719 kB / 0.9587 GB, free: 1.336 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_degC.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches