Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.From_degC,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_9_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.001552/0.001552, 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.00188/0.00188, allocations: 194.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.42/1.42, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.385/2.385, allocations: 390.2 MB / 0.6647 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002906/0.002907, allocations: 63.91 kB / 0.8127 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6183/0.6213, allocations: 140.4 MB / 0.9497 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.001898/0.6232, allocations: 0.8747 MB / 0.9506 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001053/0.6233, allocations: 50.59 kB / 0.9506 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.294e-05/0.6234, allocations: 1.25 kB / 0.9506 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.75e-05/0.6234, allocations: 11.81 kB / 0.9506 GB, free: 8.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.666e-05/0.6235, allocations: 9.375 kB / 0.9506 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.965e-05/0.6236, allocations: 27.97 kB / 0.9507 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.737e-05/0.6237, allocations: 78.03 kB / 0.9508 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001447/0.6238, allocations: 57.69 kB / 0.9508 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.554e-05/0.6239, allocations: 25.5 kB / 0.9508 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.919e-05/0.6239, allocations: 41.22 kB / 0.9509 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.624, allocations: 8.25 kB / 0.9509 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.18e-05/0.624, allocations: 8.25 kB / 0.9509 GB, free: 8.273 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.919e-05/0.624, allocations: 18.67 kB / 0.9509 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.663e-05/0.624, allocations: 43.98 kB / 0.9509 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.497e-05/0.6241, allocations: 94.73 kB / 0.951 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.6241, allocations: 0 / 0.951 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6242, allocations: 0 / 0.951 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.6242, allocations: 1.312 kB / 0.951 GB, free: 8.148 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.0003401/0.6245, allocations: 407 kB / 0.9514 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.6246, allocations: 10.31 kB / 0.9514 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.278e-05/0.6246, allocations: 41.8 kB / 0.9515 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.729e-05/0.6246, allocations: 10.19 kB / 0.9515 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.6248, allocations: 200.8 kB / 0.9517 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.6248, allocations: 12.12 kB / 0.9517 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.357e-05/0.6248, allocations: 10.66 kB / 0.9517 GB, free: 7.445 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.625, allocations: 111.8 kB / 0.9518 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.625, allocations: 1.062 kB / 0.9518 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.625, allocations: 5.125 kB / 0.9518 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.625, allocations: 2.156 kB / 0.9518 GB, free: 7.352 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.142e-05/0.6251, allocations: 43.42 kB / 0.9519 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004445/0.6256, allocations: 473.2 kB / 0.9523 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.583e-05/0.6256, allocations: 45.05 kB / 0.9523 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.189e-05/0.6257, allocations: 15.03 kB / 0.9524 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.206e-06/0.6257, allocations: 9.406 kB / 0.9524 GB, free: 6.785 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.598e-05/0.6257, allocations: 35.97 kB / 0.9524 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.6257, allocations: 0 / 0.9524 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001659/0.6259, allocations: 55.25 kB / 0.9525 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.6259, allocations: 78.05 kB / 0.9525 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.6261, allocations: 187.2 kB / 0.9527 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.734e-06/0.6261, allocations: 29.7 kB / 0.9527 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.009e-05/0.6261, allocations: 112.8 kB / 0.9528 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.378e-06/0.6262, allocations: 9.359 kB / 0.9529 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/0.6262, allocations: 21.75 kB / 0.9529 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.976e-05/0.6262, allocations: 321.4 kB / 0.9532 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.622e-05/0.6263, allocations: 2.875 kB / 0.9532 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.761e-05/0.6263, allocations: 18.91 kB / 0.9532 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.546e-05/0.6263, allocations: 30.03 kB / 0.9532 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.6263, allocations: 1.656 kB / 0.9532 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.907e-05/0.6264, allocations: 58.59 kB / 0.9533 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.6265, allocations: 5.656 kB / 0.9533 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.6265, allocations: 0.9688 kB / 0.9533 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.6265, allocations: 5.391 kB / 0.9533 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.801e-05/0.6265, allocations: 9.219 kB / 0.9533 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.6266, allocations: 4.062 kB / 0.9533 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.257e-05/0.6266, allocations: 14.47 kB / 0.9533 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.6266, allocations: 5.453 kB / 0.9533 GB, free: 5.84 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 5.215e-05/0.6267, allocations: 114.1 kB / 0.9534 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.38e-05/0.6267, allocations: 9.469 kB / 0.9535 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.121e-05/0.6267, allocations: 11.41 kB / 0.9535 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.6267, allocations: 1.219 kB / 0.9535 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.6267, allocations: 1.531 kB / 0.9535 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.6268, allocations: 3.938 kB / 0.9535 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002662/0.627, allocations: 480.6 kB / 0.9539 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.627, allocations: 0.7188 kB / 0.9539 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.862e-05/0.6271, allocations: 3.625 kB / 0.9539 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.6271, allocations: 5.188 kB / 0.9539 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.6271, allocations: 3.984 kB / 0.9539 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.6271, allocations: 5.297 kB / 0.9539 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.6271, allocations: 0 / 0.9539 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.566e-05/0.6271, allocations: 83.94 kB / 0.954 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.198e-05/0.6272, allocations: 88.75 kB / 0.9541 GB, free: 5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.6272, allocations: 9.281 kB / 0.9541 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.104e-05/0.6272, allocations: 0 / 0.9541 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.559e-05/0.6272, allocations: 5.281 kB / 0.9541 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.6273, allocations: 6.344 kB / 0.9541 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.654e-05/0.6273, allocations: 138.2 kB / 0.9543 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6273, allocations: 0 / 0.9543 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001915/0.6275, allocations: 11.38 kB / 0.9543 GB, free: 4.875 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.0002071/0.6278, allocations: 0.6267 MB / 0.9549 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.318e-05/0.6278, allocations: 15.44 kB / 0.9549 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.6278, allocations: 0 / 0.9549 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.061e-05/0.6279, allocations: 7.969 kB / 0.9549 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001532/0.628, allocations: 7.844 kB / 0.9549 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008903/0.6289, allocations: 1.4 MB / 0.9563 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001106/0.629, allocations: 0.7008 MB / 0.957 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.358e-05/0.6291, allocations: 5.938 kB / 0.957 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/0.6291, allocations: 31.67 kB / 0.957 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.6291, allocations: 1.219 kB / 0.957 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0165/0.6456, allocations: 1.696 MB / 0.9587 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.086/7.731, allocations: 10.7 kB / 0.9587 GB, free: 1.309 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_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_From_degC.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches