Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.From_ton,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",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.001338/0.001338, allocations: 108 kB / 15.61 MB, free: 152 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.001312/0.001312, allocations: 194 kB / 16.53 MB, free: 6.664 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.34/1.34, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.683/2.683, allocations: 469.4 MB / 0.742 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 67.31 kB / 0.9083 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2473, allocations: 159.1 MB / 1.064 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001969/0.2493, allocations: 0.8313 MB / 1.064 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001086/0.2494, allocations: 39.78 kB / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.003e-05/0.2494, allocations: 4 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.266e-05/0.2495, allocations: 3.938 kB / 1.065 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.272e-05/0.2496, allocations: 11.86 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.171e-05/0.2496, allocations: 19.98 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.736e-05/0.2497, allocations: 63.8 kB / 1.065 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.2499, allocations: 43.95 kB / 1.065 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.328e-05/0.2499, allocations: 27.81 kB / 1.065 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.554e-05/0.25, allocations: 31.84 kB / 1.065 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.25, allocations: 4 kB / 1.065 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.093e-05/0.25, allocations: 8 kB / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.894e-05/0.25, allocations: 15.92 kB / 1.065 GB, free: 13.4 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.77e-05/0.2501, allocations: 39.73 kB / 1.065 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.302e-05/0.2502, allocations: 64 kB / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2502, allocations: 0 / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2502, allocations: 4 kB / 1.065 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.2502, allocations: 0 / 1.065 GB, free: 13.29 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.0003651/0.2506, allocations: 371.3 kB / 1.065 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.2506, allocations: 16.03 kB / 1.065 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.301e-05/0.2506, allocations: 34.75 kB / 1.065 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.741e-05/0.2507, allocations: 20.69 kB / 1.065 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.2509, allocations: 192.2 kB / 1.065 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.2509, allocations: 4.375 kB / 1.065 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.2509, allocations: 12.31 kB / 1.065 GB, free: 12.56 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.251, allocations: 95.89 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.251, allocations: 3.938 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.2511, allocations: 4 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.2511, allocations: 0 / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.227e-05/0.2512, allocations: 35.98 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004795/0.2516, allocations: 436.5 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.462e-05/0.2517, allocations: 41.16 kB / 1.066 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.414e-05/0.2517, allocations: 17.84 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.145e-06/0.2517, allocations: 96 / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.2518, allocations: 38.5 kB / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.2518, allocations: 0 / 1.066 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001575/0.2519, allocations: 65.47 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/0.252, allocations: 77.11 kB / 1.066 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.2521, allocations: 164.6 kB / 1.066 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.2521, allocations: 25.7 kB / 1.066 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.672e-05/0.2522, allocations: 100 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.113e-06/0.2522, allocations: 3.906 kB / 1.067 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.334e-05/0.2523, allocations: 17.72 kB / 1.067 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.157e-05/0.2524, allocations: 327.1 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.686e-05/0.2524, allocations: 4 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.221e-05/0.2524, allocations: 17.72 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.822e-05/0.2524, allocations: 25.66 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2525, allocations: 0 / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.603e-05/0.2525, allocations: 65.62 kB / 1.067 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.2526, allocations: 13.88 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.2526, allocations: 0 / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.2526, allocations: 3.984 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.054e-05/0.2527, allocations: 11.94 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.2527, allocations: 3.984 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.129e-05/0.2527, allocations: 7.844 kB / 1.067 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.2527, allocations: 7.984 kB / 1.067 GB, free: 10.8 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 6.621e-05/0.2528, allocations: 113.8 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.533e-05/0.2528, allocations: 11.84 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.41e-05/0.2529, allocations: 11.88 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.2529, allocations: 7.938 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2529, allocations: 4 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.2529, allocations: 0 / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003447/0.2532, allocations: 474.8 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2533, allocations: 0 / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.107e-05/0.2533, allocations: 4 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2533, allocations: 4.062 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.899e-06/0.2533, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.2533, allocations: 0 / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.2533, allocations: 4 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.437e-05/0.2534, allocations: 81.77 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.441e-05/0.2534, allocations: 85.02 kB / 1.068 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.2535, allocations: 4 kB / 1.068 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.08e-05/0.2535, allocations: 4.031 kB / 1.068 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.254e-05/0.2535, allocations: 0 / 1.068 GB, free: 9.898 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.2535, allocations: 7.984 kB / 1.068 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.477e-05/0.2536, allocations: 111.3 kB / 1.068 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2536, allocations: 4 kB / 1.068 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001936/0.2538, allocations: 4 kB / 1.068 GB, free: 9.773 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.0003163/0.2541, allocations: 0.6269 MB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.695e-05/0.2542, allocations: 19.98 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2542, allocations: 0 / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.217e-05/0.2542, allocations: 7.938 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001502/0.2544, allocations: 4 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.2554, allocations: 1.32 MB / 1.07 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/0.2557, allocations: 0.7007 MB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.893e-05/0.2557, allocations: 8.375 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.447e-05/0.2557, allocations: 27.42 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.2557, allocations: 3.938 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01609/0.2718, allocations: 1.546 MB / 1.072 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.939/7.211, allocations: 21.77 kB / 1.072 GB, free: 5.434 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_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_From_ton.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches