Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_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 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.To_quad,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_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.007501/0.007507, allocations: 97.2 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.002113/0.002113, allocations: 201.8 kB / 16.68 MB, free: 5.961 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.578/1.578, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.684/2.684, allocations: 437 MB / 0.7105 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.00192, allocations: 63.89 kB / 1.018 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2789, allocations: 151.6 MB / 1.166 GB, free: 7.391 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.00193/0.2809, allocations: 0.8139 MB / 1.167 GB, free: 6.57 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.000114/0.281, allocations: 47.78 kB / 1.167 GB, free: 6.523 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.398e-05/0.2811, allocations: 4 kB / 1.167 GB, free: 6.52 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.048e-05/0.2811, allocations: 15.86 kB / 1.167 GB, free: 6.504 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.487e-05/0.2812, allocations: 3.938 kB / 1.167 GB, free: 6.5 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.926e-05/0.2813, allocations: 15.98 kB / 1.167 GB, free: 6.484 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000106/0.2814, allocations: 63.78 kB / 1.167 GB, free: 6.422 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.2815, allocations: 47.95 kB / 1.167 GB, free: 6.375 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.12e-05/0.2816, allocations: 23.88 kB / 1.167 GB, free: 6.352 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.564e-05/0.2816, allocations: 35.78 kB / 1.167 GB, free: 6.316 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.2817, allocations: 4 kB / 1.167 GB, free: 6.312 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.185e-05/0.2817, allocations: 8 kB / 1.167 GB, free: 6.305 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.173e-05/0.2817, allocations: 15.88 kB / 1.167 GB, free: 6.289 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.315e-05/0.2818, allocations: 35.73 kB / 1.167 GB, free: 6.254 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.2819, allocations: 75.86 kB / 1.167 GB, free: 6.18 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2819, allocations: 8 kB / 1.167 GB, free: 6.172 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2819, allocations: 0 / 1.167 GB, free: 6.172 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.2819, allocations: 0 / 1.167 GB, free: 6.172 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004628/0.2824, allocations: 379.1 kB / 1.168 GB, free: 5.75 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.2824, allocations: 12.03 kB / 1.168 GB, free: 5.738 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.713e-05/0.2825, allocations: 34.75 kB / 1.168 GB, free: 5.695 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.96e-05/0.2825, allocations: 20.83 kB / 1.168 GB, free: 5.676 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/0.2827, allocations: 192.2 kB / 1.168 GB, free: 5.449 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.2827, allocations: 8.375 kB / 1.168 GB, free: 5.441 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.2828, allocations: 12.38 kB / 1.168 GB, free: 5.43 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.2829, allocations: 89.98 kB / 1.168 GB, free: 5.332 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.283, allocations: 11.86 kB / 1.168 GB, free: 5.32 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.283, allocations: 4 kB / 1.168 GB, free: 5.316 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.283, allocations: 3.938 kB / 1.168 GB, free: 5.312 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.823e-05/0.2831, allocations: 39.97 kB / 1.168 GB, free: 5.273 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005405/0.2836, allocations: 436.6 kB / 1.169 GB, free: 4.793 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 5.713e-05/0.2837, allocations: 37.28 kB / 1.169 GB, free: 4.738 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.938e-05/0.2837, allocations: 21.84 kB / 1.169 GB, free: 4.711 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/0.2838, allocations: 0 / 1.169 GB, free: 4.711 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.2838, allocations: 34.56 kB / 1.169 GB, free: 4.668 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.2838, allocations: 3.938 kB / 1.169 GB, free: 4.664 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.000163/0.284, allocations: 57.58 kB / 1.169 GB, free: 4.602 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.282e-05/0.284, allocations: 85.05 kB / 1.169 GB, free: 4.5 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.2842, allocations: 156.5 kB / 1.169 GB, free: 4.34 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.2842, allocations: 25.7 kB / 1.169 GB, free: 4.309 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.846e-05/0.2843, allocations: 104.3 kB / 1.169 GB, free: 4.203 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 9.427e-06/0.2843, allocations: 11.89 kB / 1.169 GB, free: 4.191 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.636e-05/0.2844, allocations: 17.72 kB / 1.169 GB, free: 4.168 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.2845, allocations: 318.8 kB / 1.169 GB, free: 3.848 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.823e-05/0.2845, allocations: 8 kB / 1.169 GB, free: 3.84 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.543e-05/0.2846, allocations: 17.72 kB / 1.169 GB, free: 3.816 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.23e-05/0.2846, allocations: 29.7 kB / 1.169 GB, free: 3.781 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.2846, allocations: 0 / 1.169 GB, free: 3.781 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.202e-05/0.2847, allocations: 61.55 kB / 1.169 GB, free: 3.715 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.2847, allocations: 7.938 kB / 1.17 GB, free: 3.707 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.2847, allocations: 0 / 1.17 GB, free: 3.707 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.2848, allocations: 0 / 1.17 GB, free: 3.707 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.094e-05/0.2848, allocations: 19.92 kB / 1.17 GB, free: 3.688 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.2848, allocations: 0 / 1.17 GB, free: 3.688 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.763e-05/0.2849, allocations: 0 / 1.17 GB, free: 3.688 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.2849, allocations: 4 kB / 1.17 GB, free: 3.684 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 9.134e-05/0.285, allocations: 122.7 kB / 1.17 GB, free: 3.555 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.754e-05/0.285, allocations: 11.89 kB / 1.17 GB, free: 3.543 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.986e-05/0.2851, allocations: 3.875 kB / 1.17 GB, free: 3.535 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.2851, allocations: 4 kB / 1.17 GB, free: 3.531 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.2851, allocations: 3.984 kB / 1.17 GB, free: 3.527 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.2851, allocations: 3.938 kB / 1.17 GB, free: 3.523 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004428/0.2855, allocations: 478.7 kB / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.2855, allocations: 0 / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.079e-05/0.2856, allocations: 4 kB / 1.17 GB, free: 2.988 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2856, allocations: 0 / 1.17 GB, free: 2.988 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-06/0.2856, allocations: 0 / 1.17 GB, free: 2.988 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.2856, allocations: 0 / 1.17 GB, free: 2.988 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.2856, allocations: 4 kB / 1.17 GB, free: 2.984 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.592e-05/0.2857, allocations: 85.94 kB / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.604e-05/0.2858, allocations: 93 kB / 1.17 GB, free: 2.77 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.25e-05/0.2858, allocations: 0 / 1.17 GB, free: 2.77 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.064e-05/0.2858, allocations: 0 / 1.17 GB, free: 2.77 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.641e-05/0.2858, allocations: 3.984 kB / 1.17 GB, free: 2.766 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.2858, allocations: 4 kB / 1.17 GB, free: 2.762 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001039/0.2859, allocations: 120.7 kB / 1.17 GB, free: 2.645 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.286, allocations: 0 / 1.17 GB, free: 2.645 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001963/0.2862, allocations: 11.94 kB / 1.17 GB, free: 2.633 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.0004215/0.2866, allocations: 0.6133 MB / 1.171 GB, free: 1.988 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 8.784e-05/0.2867, allocations: 23.94 kB / 1.171 GB, free: 1.965 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2867, allocations: 160 / 1.171 GB, free: 1.965 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.374e-05/0.2867, allocations: 12 kB / 1.171 GB, free: 1.953 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.2869, allocations: 8 kB / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.2881, allocations: 1.327 MB / 1.172 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.2885, allocations: 0.6929 MB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.096e-05/0.2885, allocations: 8.516 kB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.737e-05/0.2886, allocations: 27.42 kB / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of SimCode: time 2.71e-07/0.2886, allocations: 0 / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02627/0.3149, allocations: 1.582 MB / 1.175 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.887/8.202, allocations: 3.953 kB / 1.175 GB, free: 14.28 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_quad.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches