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.005425/0.005425, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001429/0.001429, allocations: 201.6 kB / 16.68 MB, free: 5.969 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.367 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.686/2.686, allocations: 469.8 MB / 0.7425 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 71.89 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2921, allocations: 159.1 MB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.001957/0.294, allocations: 0.8155 MB / 1.221 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001041/0.2942, allocations: 47.78 kB / 1.221 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.129e-05/0.2942, allocations: 0 / 1.221 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.582e-05/0.2943, allocations: 11.86 kB / 1.221 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.822e-05/0.2943, allocations: 11.88 kB / 1.221 GB, free: 13.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.785e-05/0.2944, allocations: 15.98 kB / 1.221 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.2945, allocations: 63.84 kB / 1.221 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.2946, allocations: 55.78 kB / 1.221 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.086e-05/0.2947, allocations: 23.88 kB / 1.221 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.306e-05/0.2948, allocations: 31.83 kB / 1.221 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.2948, allocations: 8 kB / 1.221 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.877e-06/0.2948, allocations: 4 kB / 1.221 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.899e-05/0.2948, allocations: 15.94 kB / 1.221 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.965e-05/0.2949, allocations: 35.73 kB / 1.221 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000115/0.295, allocations: 79.58 kB / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.295, allocations: 0 / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.463e-06/0.295, allocations: 0 / 1.221 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.295, allocations: 0 / 1.221 GB, free: 13.07 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.0004184/0.2954, allocations: 379.1 kB / 1.222 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.2955, allocations: 12.03 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.904e-05/0.2955, allocations: 34.75 kB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.668e-05/0.2956, allocations: 12.84 kB / 1.222 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.2958, allocations: 196.2 kB / 1.222 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.2958, allocations: 12.38 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.2958, allocations: 8.375 kB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.2959, allocations: 90.2 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.296, allocations: 3.938 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.296, allocations: 11.98 kB / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.296, allocations: 0 / 1.222 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.604e-05/0.2961, allocations: 39.91 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005038/0.2966, allocations: 436.7 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.726e-05/0.2966, allocations: 37.28 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.502e-05/0.2967, allocations: 21.84 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.292e-06/0.2967, allocations: 0 / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.2967, allocations: 38.56 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.01e-07/0.2967, allocations: 0 / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001524/0.2969, allocations: 57.52 kB / 1.223 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.297, allocations: 81.11 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001434/0.2971, allocations: 164.6 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.2971, allocations: 25.7 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.352e-05/0.2972, allocations: 108.3 kB / 1.223 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.337e-06/0.2972, allocations: 7.938 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/0.2973, allocations: 21.61 kB / 1.223 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.2974, allocations: 322.8 kB / 1.223 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.544e-05/0.2974, allocations: 7.938 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.917e-05/0.2975, allocations: 25.66 kB / 1.223 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.398e-05/0.2975, allocations: 29.7 kB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.2975, allocations: 0 / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.23e-05/0.2976, allocations: 53.59 kB / 1.223 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.2976, allocations: 11.94 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.2976, allocations: 0 / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.2976, allocations: 0 / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.43e-05/0.2977, allocations: 11.98 kB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.2977, allocations: 4 kB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.73e-05/0.2977, allocations: 3.938 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.2978, allocations: 8.062 kB / 1.224 GB, free: 10.57 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.712e-05/0.2978, allocations: 109.8 kB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.02e-05/0.2979, allocations: 11.89 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.884e-05/0.2979, allocations: 7.875 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.2979, allocations: 0 / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.2979, allocations: 7.984 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2979, allocations: 0 / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003899/0.2983, allocations: 478.7 kB / 1.224 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2983, allocations: 0 / 1.224 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.085e-05/0.2984, allocations: 7.938 kB / 1.224 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2984, allocations: 0 / 1.224 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-06/0.2984, allocations: 0 / 1.224 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2984, allocations: 0 / 1.224 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2984, allocations: 0 / 1.224 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.058e-05/0.2985, allocations: 89.94 kB / 1.224 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.044e-05/0.2985, allocations: 81.06 kB / 1.224 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.2986, allocations: 4 kB / 1.224 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.866e-05/0.2986, allocations: 0 / 1.224 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.249e-05/0.2986, allocations: 3.984 kB / 1.224 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.2986, allocations: 0 / 1.224 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.374e-05/0.2987, allocations: 121.1 kB / 1.224 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2987, allocations: 3.938 kB / 1.224 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001751/0.2989, allocations: 16.03 kB / 1.224 GB, free: 9.531 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.0003842/0.2993, allocations: 0.606 MB / 1.225 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.689e-05/0.2994, allocations: 20.02 kB / 1.225 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.2994, allocations: 4.062 kB / 1.225 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.162e-05/0.2994, allocations: 15.94 kB / 1.225 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001358/0.2995, allocations: 7.938 kB / 1.225 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.3007, allocations: 1.331 MB / 1.226 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.301, allocations: 0.6968 MB / 1.227 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.864e-05/0.301, allocations: 8.422 kB / 1.227 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.902e-05/0.3011, allocations: 27.42 kB / 1.227 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of SimCode: time 2.6e-07/0.3011, allocations: 0 / 1.227 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.059/1.36, allocations: 1.579 MB / 1.229 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.91/9.27, allocations: 0.7031 kB / 1.229 GB, free: 5.18 MB / 0.9825 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