Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_quad,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_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.007835/0.007834, allocations: 98.25 kB / 15.73 MB, free: 6.445 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.002128/0.002128, allocations: 196.8 kB / 16.68 MB, free: 6.352 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 4.285 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.72/2.72, allocations: 437.1 MB / 0.7105 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.00192, allocations: 71.89 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2781, allocations: 151.6 MB / 1.166 GB, free: 7.316 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_quad): time 0.001916/0.28, allocations: 0.8256 MB / 1.167 GB, free: 6.484 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001119/0.2802, allocations: 47.78 kB / 1.167 GB, free: 6.438 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.854e-05/0.2802, allocations: 4 kB / 1.167 GB, free: 6.434 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.196e-05/0.2803, allocations: 11.86 kB / 1.167 GB, free: 6.422 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.022e-05/0.2804, allocations: 7.875 kB / 1.167 GB, free: 6.414 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.64e-05/0.2804, allocations: 15.98 kB / 1.167 GB, free: 6.398 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.2805, allocations: 63.78 kB / 1.167 GB, free: 6.336 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.2807, allocations: 47.97 kB / 1.167 GB, free: 6.289 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.78e-05/0.2807, allocations: 19.88 kB / 1.167 GB, free: 6.27 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.26e-05/0.2808, allocations: 35.78 kB / 1.167 GB, free: 6.234 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.2808, allocations: 4 kB / 1.167 GB, free: 6.23 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.295e-05/0.2808, allocations: 12 kB / 1.167 GB, free: 6.219 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.126e-05/0.2809, allocations: 15.92 kB / 1.167 GB, free: 6.203 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.403e-05/0.2809, allocations: 35.8 kB / 1.167 GB, free: 6.168 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.281, allocations: 71.81 kB / 1.167 GB, free: 6.098 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.281, allocations: 4 kB / 1.167 GB, free: 6.094 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.473e-06/0.281, allocations: 0 / 1.167 GB, free: 6.094 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.2811, allocations: 0 / 1.167 GB, free: 6.094 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.0004571/0.2815, allocations: 383.1 kB / 1.168 GB, free: 5.668 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.2816, allocations: 8.031 kB / 1.168 GB, free: 5.66 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.934e-05/0.2816, allocations: 46.75 kB / 1.168 GB, free: 5.605 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.886e-05/0.2816, allocations: 12.84 kB / 1.168 GB, free: 5.594 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.2819, allocations: 200.1 kB / 1.168 GB, free: 5.359 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.2819, allocations: 4.375 kB / 1.168 GB, free: 5.355 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.2819, allocations: 12.36 kB / 1.168 GB, free: 5.344 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.2821, allocations: 93.61 kB / 1.168 GB, free: 5.242 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.2821, allocations: 3.938 kB / 1.168 GB, free: 5.238 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.2821, allocations: 4 kB / 1.168 GB, free: 5.234 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.2821, allocations: 8 kB / 1.168 GB, free: 5.227 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.772e-05/0.2822, allocations: 35.92 kB / 1.168 GB, free: 5.191 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005725/0.2828, allocations: 432.6 kB / 1.169 GB, free: 4.715 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.664e-05/0.2829, allocations: 41.28 kB / 1.169 GB, free: 4.656 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.792e-05/0.2829, allocations: 21.84 kB / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.085e-05/0.2829, allocations: 0 / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.283, allocations: 34.56 kB / 1.169 GB, free: 4.586 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.283, allocations: 0 / 1.169 GB, free: 4.586 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0001709/0.2832, allocations: 61.52 kB / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/0.2832, allocations: 77.36 kB / 1.169 GB, free: 4.426 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.2834, allocations: 163.5 kB / 1.169 GB, free: 4.258 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.2834, allocations: 25.7 kB / 1.169 GB, free: 4.227 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.026e-05/0.2835, allocations: 100.1 kB / 1.169 GB, free: 4.125 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.187e-05/0.2835, allocations: 7.891 kB / 1.169 GB, free: 4.117 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.714e-05/0.2835, allocations: 21.66 kB / 1.169 GB, free: 4.09 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.2837, allocations: 322.8 kB / 1.169 GB, free: 3.766 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.81e-05/0.2837, allocations: 4 kB / 1.169 GB, free: 3.762 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.61e-05/0.2838, allocations: 25.66 kB / 1.169 GB, free: 3.73 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.07e-05/0.2838, allocations: 21.72 kB / 1.169 GB, free: 3.703 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2838, allocations: 0 / 1.169 GB, free: 3.703 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.801e-05/0.2839, allocations: 69.53 kB / 1.17 GB, free: 3.629 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.2839, allocations: 7.938 kB / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.2839, allocations: 0 / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.284, allocations: 0 / 1.17 GB, free: 3.621 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.847e-05/0.284, allocations: 12.06 kB / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.284, allocations: 3.984 kB / 1.17 GB, free: 3.605 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.699e-05/0.2841, allocations: 0 / 1.17 GB, free: 3.605 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-06/0.2841, allocations: 4 kB / 1.17 GB, free: 3.602 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.247e-05/0.2842, allocations: 113.8 kB / 1.17 GB, free: 3.48 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.569e-05/0.2842, allocations: 11.89 kB / 1.17 GB, free: 3.469 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.364e-05/0.2843, allocations: 7.875 kB / 1.17 GB, free: 3.457 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.2843, allocations: 7.938 kB / 1.17 GB, free: 3.449 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.2843, allocations: 7.938 kB / 1.17 GB, free: 3.441 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.2843, allocations: 4 kB / 1.17 GB, free: 3.438 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004355/0.2847, allocations: 474.8 kB / 1.17 GB, free: 2.91 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2847, allocations: 3.938 kB / 1.17 GB, free: 2.906 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.074e-05/0.2848, allocations: 4 kB / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.2848, allocations: 0 / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.2848, allocations: 0 / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2848, allocations: 0 / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2848, allocations: 4.062 kB / 1.17 GB, free: 2.898 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.858e-05/0.2849, allocations: 85.88 kB / 1.17 GB, free: 2.793 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.764e-05/0.285, allocations: 85.06 kB / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.192e-05/0.285, allocations: 0 / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.018e-05/0.285, allocations: 0 / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.953e-05/0.285, allocations: 4 kB / 1.17 GB, free: 2.688 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.541e-06/0.285, allocations: 15.95 kB / 1.17 GB, free: 2.672 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001034/0.2851, allocations: 118.1 kB / 1.17 GB, free: 2.559 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2852, allocations: 0 / 1.17 GB, free: 2.559 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001922/0.2853, allocations: 7.938 kB / 1.17 GB, free: 2.551 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.0004227/0.2858, allocations: 0.6172 MB / 1.171 GB, free: 1.902 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 9.196e-05/0.2859, allocations: 27.92 kB / 1.171 GB, free: 1.875 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2859, allocations: 0 / 1.171 GB, free: 1.875 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.118e-05/0.2859, allocations: 4 kB / 1.171 GB, free: 1.871 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/0.2861, allocations: 8 kB / 1.171 GB, free: 1.863 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.2874, allocations: 1.339 MB / 1.172 GB, free: 436 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.2877, allocations: 0.6889 MB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.141e-05/0.2878, allocations: 8.422 kB / 1.173 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.819e-05/0.2878, allocations: 27.42 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of SimCode: time 5.51e-07/0.2878, allocations: 0 / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02173/0.3096, allocations: 1.576 MB / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.323/9.633, allocations: 13.23 kB / 1.175 GB, free: 14.19 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_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_From_quad.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches