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.006293/0.006293, allocations: 102.3 kB / 15.73 MB, free: 6.062 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.001664/0.001664, allocations: 192.3 kB / 16.68 MB, free: 5.973 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.769/2.769, allocations: 469.8 MB / 0.7425 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 59.91 kB / 1.065 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7511/0.753, allocations: 159.1 MB / 1.22 GB, free: 2.035 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_quad): time 0.001981/0.755, allocations: 0.8273 MB / 1.221 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001124/0.7551, allocations: 39.78 kB / 1.221 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.933e-05/0.7552, allocations: 0 / 1.221 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.849e-05/0.7552, allocations: 7.875 kB / 1.221 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.215e-05/0.7553, allocations: 15.86 kB / 1.221 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.881e-05/0.7554, allocations: 19.98 kB / 1.221 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.7555, allocations: 55.84 kB / 1.221 GB, free: 1.074 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.7556, allocations: 55.84 kB / 1.221 GB, free: 1.02 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.79e-05/0.7557, allocations: 23.86 kB / 1.221 GB, free: 0.9961 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.674e-05/0.7558, allocations: 31.86 kB / 1.221 GB, free: 0.9648 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.7558, allocations: 8 kB / 1.221 GB, free: 0.957 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.474e-05/0.7558, allocations: 8 kB / 1.221 GB, free: 0.9492 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.04e-05/0.7558, allocations: 15.86 kB / 1.221 GB, free: 0.9336 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.199e-05/0.7559, allocations: 35.8 kB / 1.221 GB, free: 0.8984 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.756, allocations: 71.36 kB / 1.221 GB, free: 0.832 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.756, allocations: 0 / 1.221 GB, free: 0.832 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.934e-06/0.756, allocations: 7.938 kB / 1.221 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.756, allocations: 0 / 1.221 GB, free: 0.8242 MB / 0.9356 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.0004403/0.7565, allocations: 371.2 kB / 1.222 GB, free: 420 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.7565, allocations: 23.95 kB / 1.222 GB, free: 396 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.801e-05/0.7566, allocations: 34.75 kB / 1.222 GB, free: 352 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.005e-05/0.7566, allocations: 16.84 kB / 1.222 GB, free: 336 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.7568, allocations: 196.1 kB / 1.222 GB, free: 100 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.7568, allocations: 8.375 kB / 1.222 GB, free: 92 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.7569, allocations: 4.375 kB / 1.222 GB, free: 88 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.757, allocations: 101.7 kB / 1.222 GB, free: 15.98 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.7571, allocations: 3.938 kB / 1.222 GB, free: 15.97 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.7571, allocations: 8 kB / 1.222 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.7571, allocations: 0 / 1.222 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.671e-05/0.7572, allocations: 31.98 kB / 1.222 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005343/0.7577, allocations: 436.7 kB / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.351e-05/0.7578, allocations: 45.14 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.692e-05/0.7578, allocations: 25.84 kB / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 9.919e-06/0.7578, allocations: 0 / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.7579, allocations: 34.59 kB / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.7579, allocations: 0 / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001618/0.758, allocations: 57.53 kB / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/0.7581, allocations: 85.34 kB / 1.223 GB, free: 15.15 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.7583, allocations: 156.7 kB / 1.223 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.7583, allocations: 29.69 kB / 1.223 GB, free: 14.95 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.434e-05/0.7584, allocations: 96.09 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.475e-05/0.7584, allocations: 11.94 kB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/0.7584, allocations: 17.67 kB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.7586, allocations: 318.8 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.187e-05/0.7586, allocations: 11.98 kB / 1.223 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.406e-05/0.7586, allocations: 17.72 kB / 1.223 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.297e-05/0.7587, allocations: 29.66 kB / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/0.7587, allocations: 0 / 1.223 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.7e-05/0.7588, allocations: 57.58 kB / 1.223 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.7588, allocations: 11.94 kB / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.7588, allocations: 0 / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.7588, allocations: 4.062 kB / 1.224 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.109e-05/0.7589, allocations: 15.94 kB / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.7589, allocations: 0 / 1.224 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.989e-05/0.7589, allocations: 3.938 kB / 1.224 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.7589, allocations: 4 kB / 1.224 GB, free: 14.33 MB / 0.9512 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 8.324e-05/0.759, allocations: 113.8 kB / 1.224 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.696e-05/0.7591, allocations: 15.88 kB / 1.224 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.209e-05/0.7591, allocations: 7.875 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.7591, allocations: 7.938 kB / 1.224 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.7591, allocations: 4 kB / 1.224 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.7591, allocations: 96 / 1.224 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004229/0.7596, allocations: 478.7 kB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.7596, allocations: 0 / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.21e-05/0.7596, allocations: 4 kB / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.7596, allocations: 0 / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.7596, allocations: 3.984 kB / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.7596, allocations: 4.062 kB / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.7596, allocations: 4 kB / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.974e-05/0.7597, allocations: 77.83 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.162e-05/0.7598, allocations: 89.05 kB / 1.224 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.7598, allocations: 4 kB / 1.224 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.988e-05/0.7598, allocations: 0 / 1.224 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.635e-05/0.7599, allocations: 4.031 kB / 1.224 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.7599, allocations: 4 kB / 1.224 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.501e-05/0.76, allocations: 117.1 kB / 1.224 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.76, allocations: 0 / 1.224 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001897/0.7602, allocations: 8 kB / 1.224 GB, free: 13.29 MB / 0.9512 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.000421/0.7606, allocations: 0.6215 MB / 1.225 GB, free: 12.63 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 7.896e-05/0.7607, allocations: 16 kB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.7607, allocations: 0 / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.441e-05/0.7607, allocations: 11.92 kB / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.7609, allocations: 4 kB / 1.225 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.7621, allocations: 1.335 MB / 1.226 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.7624, allocations: 0.6929 MB / 1.227 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.23e-05/0.7625, allocations: 8.422 kB / 1.227 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.478e-05/0.7625, allocations: 23.44 kB / 1.227 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of SimCode: time 2.5e-07/0.7625, allocations: 0 / 1.227 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02143/0.784, allocations: 1.581 MB / 1.229 GB, free: 8.93 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.67/8.454, allocations: 11.78 kB / 1.229 GB, free: 8.922 MB / 0.9512 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 & python3 -m fmpy simulate --output-file Buildings_11_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_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.csv","/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