Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_quad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,fileNamePrefix="Buildings_latest_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.004731/0.004731, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001096/0.001096, allocations: 197.3 kB / 16.68 MB, free: 5.977 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.387/1.387, 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 11.1.0-master/package.mo): time 2.75/2.75, allocations: 469.4 MB / 0.7421 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 63.91 kB / 1.064 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2699, allocations: 159.1 MB / 1.22 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.001979/0.2719, allocations: 0.8311 MB / 1.221 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001283/0.272, allocations: 43.78 kB / 1.221 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.887e-05/0.2721, allocations: 4 kB / 1.221 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.014e-05/0.2722, allocations: 11.86 kB / 1.221 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.419e-05/0.2723, allocations: 11.88 kB / 1.221 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.572e-05/0.2723, allocations: 15.98 kB / 1.221 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.2724, allocations: 63.84 kB / 1.221 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.2726, allocations: 55.83 kB / 1.221 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.458e-05/0.2726, allocations: 23.88 kB / 1.221 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.654e-05/0.2727, allocations: 31.78 kB / 1.221 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.2727, allocations: 8 kB / 1.221 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.967e-06/0.2727, allocations: 4 kB / 1.221 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.088e-05/0.2728, allocations: 15.94 kB / 1.221 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.983e-05/0.2728, allocations: 35.73 kB / 1.221 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.2729, allocations: 75.64 kB / 1.221 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2729, allocations: 0 / 1.221 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2729, allocations: 0 / 1.221 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.273, allocations: 0 / 1.221 GB, free: 13.41 MB / 0.9825 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.0003916/0.2734, allocations: 379.1 kB / 1.221 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.2734, allocations: 8.031 kB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.922e-05/0.2735, allocations: 46.67 kB / 1.221 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.79e-05/0.2735, allocations: 12.84 kB / 1.221 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.2737, allocations: 192.3 kB / 1.222 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.2737, allocations: 4.375 kB / 1.222 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.2737, allocations: 12.38 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.2739, allocations: 93.67 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.2739, allocations: 3.938 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.2739, allocations: 4 kB / 1.222 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.2739, allocations: 7.984 kB / 1.222 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.261e-05/0.274, allocations: 35.98 kB / 1.222 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004902/0.2745, allocations: 440.7 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.398e-05/0.2746, allocations: 33.22 kB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.337e-05/0.2746, allocations: 21.81 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.536e-06/0.2746, allocations: 8 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.2747, allocations: 34.55 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.2747, allocations: 0 / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001568/0.2748, allocations: 57.47 kB / 1.222 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.2749, allocations: 81.11 kB / 1.222 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.275, allocations: 160.8 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.275, allocations: 25.95 kB / 1.223 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.597e-05/0.2751, allocations: 112.1 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.867e-06/0.2751, allocations: 3.953 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/0.2751, allocations: 25.61 kB / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 8.891e-05/0.2752, allocations: 314.8 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.829e-05/0.2753, allocations: 8 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.38e-05/0.2753, allocations: 17.72 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.188e-05/0.2753, allocations: 37.64 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.2753, allocations: 0 / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.281e-05/0.2754, allocations: 49.66 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.2755, allocations: 7.938 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.2755, allocations: 4 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.2755, allocations: 3.938 kB / 1.223 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.888e-05/0.2755, allocations: 11.98 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.2756, allocations: 0 / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.286e-05/0.2756, allocations: 12 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.2756, allocations: 96 / 1.223 GB, free: 10.92 MB / 0.9825 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.352e-05/0.2757, allocations: 115.2 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.705e-05/0.2757, allocations: 15.88 kB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.08e-05/0.2758, allocations: 7.875 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.2758, allocations: 3.984 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.2758, allocations: 0 / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.2758, allocations: 4 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003541/0.2761, allocations: 478.7 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.2762, allocations: 4 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.945e-05/0.2762, allocations: 0 / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.2762, allocations: 4 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.411e-06/0.2762, allocations: 0 / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2762, allocations: 0 / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.2762, allocations: 0 / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.268e-05/0.2763, allocations: 89.88 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.411e-05/0.2764, allocations: 85.06 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.2764, allocations: 0 / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.215e-05/0.2764, allocations: 0 / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.077e-05/0.2764, allocations: 7.984 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.2764, allocations: 0 / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.963e-05/0.2765, allocations: 121.1 kB / 1.224 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2765, allocations: 4.031 kB / 1.224 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000202/0.2767, allocations: 12 kB / 1.224 GB, free: 9.875 MB / 0.9825 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.0003255/0.2771, allocations: 0.617 MB / 1.225 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.579e-05/0.2771, allocations: 20.03 kB / 1.225 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.2771, allocations: 0 / 1.225 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.368e-05/0.2772, allocations: 11.94 kB / 1.225 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/0.2773, allocations: 8 kB / 1.225 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.2784, allocations: 1.323 MB / 1.226 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/0.2786, allocations: 0.6963 MB / 1.227 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.93e-05/0.2787, allocations: 8.375 kB / 1.227 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.576e-05/0.2787, allocations: 27.42 kB / 1.227 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of SimCode: time 2.6e-07/0.2787, allocations: 0 / 1.227 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01764/0.2964, allocations: 1.579 MB / 1.228 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.209/7.506, allocations: 5.312 kB / 1.228 GB, free: 5.535 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_quad.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_quad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches