Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_11_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.001537/0.001536, allocations: 108 kB / 15.6 MB, free: 132 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.001706/0.001706, allocations: 196.9 kB / 16.53 MB, free: 6.391 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.331/1.331, allocations: 222.9 MB / 240.2 MB, free: 4.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.613/2.613, allocations: 469.8 MB / 0.7424 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 68.09 kB / 0.9087 GB, free: 34.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2642, allocations: 159.1 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.002006/0.2662, allocations: 0.8281 MB / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 9.759e-05/0.2664, allocations: 39.78 kB / 1.065 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.257e-05/0.2664, allocations: 4 kB / 1.065 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.374e-05/0.2665, allocations: 11.86 kB / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.161e-05/0.2665, allocations: 15.88 kB / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.34e-05/0.2666, allocations: 15.98 kB / 1.065 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.108e-05/0.2667, allocations: 59.84 kB / 1.065 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001279/0.2668, allocations: 47.95 kB / 1.065 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.874e-05/0.2669, allocations: 27.86 kB / 1.065 GB, free: 13.16 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.557e-05/0.2669, allocations: 23.86 kB / 1.065 GB, free: 13.13 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.2669, allocations: 8 kB / 1.065 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.082e-05/0.267, allocations: 11.88 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.12e-05/0.267, allocations: 15.92 kB / 1.065 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.857e-05/0.267, allocations: 31.75 kB / 1.065 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.2671, allocations: 79.97 kB / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2671, allocations: 0 / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.243e-06/0.2672, allocations: 0 / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.134e-06/0.2672, allocations: 4 kB / 1.065 GB, free: 12.98 MB / 0.8262 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.0003985/0.2676, allocations: 367.3 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.2676, allocations: 8.031 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.793e-05/0.2676, allocations: 42.73 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.597e-05/0.2677, allocations: 12.75 kB / 1.066 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.2679, allocations: 188.2 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.2679, allocations: 8.375 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.2679, allocations: 8.375 kB / 1.066 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.2681, allocations: 101.6 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.2681, allocations: 3.938 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-06/0.2681, allocations: 4 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.2681, allocations: 4 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.82e-05/0.2682, allocations: 35.92 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004932/0.2687, allocations: 440.5 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.521e-05/0.2687, allocations: 37.34 kB / 1.066 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.889e-05/0.2688, allocations: 17.78 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.2688, allocations: 3.984 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.2688, allocations: 38.56 kB / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.001e-06/0.2688, allocations: 0 / 1.067 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001491/0.269, allocations: 53.48 kB / 1.067 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.269, allocations: 77.11 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.2692, allocations: 168.8 kB / 1.067 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.2692, allocations: 25.7 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.656e-05/0.2693, allocations: 105.9 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.726e-06/0.2693, allocations: 12.16 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.962e-05/0.2693, allocations: 13.72 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.2695, allocations: 318.8 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.647e-05/0.2695, allocations: 11.94 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.312e-05/0.2695, allocations: 17.7 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.74e-05/0.2696, allocations: 25.72 kB / 1.067 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.2696, allocations: 4 kB / 1.067 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.036e-05/0.2697, allocations: 57.55 kB / 1.067 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.2697, allocations: 7.938 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.2697, allocations: 3.984 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.2697, allocations: 7.938 kB / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.841e-05/0.2698, allocations: 4 kB / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.2698, allocations: 0 / 1.067 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.294e-05/0.2698, allocations: 15.84 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.226e-06/0.2698, allocations: 0 / 1.067 GB, free: 10.51 MB / 0.8262 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.461e-05/0.2699, allocations: 117.9 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.135e-05/0.2699, allocations: 11.84 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.25e-05/0.27, allocations: 11.86 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.27, allocations: 96 / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.27, allocations: 3.938 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.27, allocations: 11.92 kB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003845/0.2704, allocations: 470.8 kB / 1.068 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2704, allocations: 0 / 1.068 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.972e-05/0.2704, allocations: 7.938 kB / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.2704, allocations: 0 / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.2704, allocations: 0 / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2704, allocations: 4 kB / 1.068 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2704, allocations: 0 / 1.068 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.156e-05/0.2705, allocations: 81.89 kB / 1.068 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.777e-05/0.2706, allocations: 89.02 kB / 1.068 GB, free: 9.605 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.2706, allocations: 3.984 kB / 1.068 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.844e-05/0.2706, allocations: 0 / 1.068 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.389e-05/0.2706, allocations: 4 kB / 1.068 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.2706, allocations: 0 / 1.068 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.797e-05/0.2707, allocations: 123.2 kB / 1.068 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2707, allocations: 0 / 1.068 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001756/0.2709, allocations: 12 kB / 1.068 GB, free: 9.465 MB / 0.8262 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.000362/0.2713, allocations: 0.6131 MB / 1.069 GB, free: 8.82 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.483e-05/0.2714, allocations: 23.94 kB / 1.069 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2714, allocations: 160 / 1.069 GB, free: 8.797 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.156e-05/0.2714, allocations: 12 kB / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.2715, allocations: 5.719 kB / 1.069 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.2727, allocations: 1.32 MB / 1.07 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.273, allocations: 0.6885 MB / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.819e-05/0.273, allocations: 8.422 kB / 1.071 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.97e-05/0.273, allocations: 23.44 kB / 1.071 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.273, allocations: 0 / 1.071 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9352/1.208, allocations: 1.556 MB / 1.072 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/13.31, allocations: 6.75 kB / 1.072 GB, free: 5.137 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_quad_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_quad.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches