Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 225.6 MB / 249.3 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.479/2.479, allocations: 476.7 MB / 0.7628 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 177] 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_Btu,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 71.89 kB / 1.107 GB, free: 5.133 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7785/0.7802, allocations: 168.7 MB / 1.271 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001791/0.782, allocations: 0.8354 MB / 1.272 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 9.349e-05/0.7821, allocations: 44.05 kB / 1.272 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.782e-05/0.7822, allocations: 5.312 kB / 1.272 GB, free: 7.145 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.591e-05/0.7822, allocations: 10.38 kB / 1.272 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.154e-05/0.7823, allocations: 9.828 kB / 1.272 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.088e-05/0.7823, allocations: 21.05 kB / 1.272 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.7824, allocations: 63.56 kB / 1.272 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.7825, allocations: 31.22 kB / 1.272 GB, free: 7.07 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.852e-05/0.7826, allocations: 30.12 kB / 1.272 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.545e-05/0.7826, allocations: 31.03 kB / 1.272 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.7827, allocations: 6.25 kB / 1.272 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.185e-05/0.7827, allocations: 5.469 kB / 1.272 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.06e-05/0.7827, allocations: 17.53 kB / 1.272 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.336e-05/0.7827, allocations: 32.28 kB / 1.273 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.7828, allocations: 72.66 kB / 1.273 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.7829, allocations: 0.8125 kB / 1.273 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.502e-06/0.7829, allocations: 0 / 1.273 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.7829, allocations: 0 / 1.273 GB, free: 6.965 MB / 0.9981 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.0003607/0.7832, allocations: 380.8 kB / 1.273 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.7833, allocations: 13.66 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.753e-05/0.7833, allocations: 42.95 kB / 1.273 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.794e-05/0.7833, allocations: 17.31 kB / 1.273 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.7835, allocations: 192.9 kB / 1.273 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.7835, allocations: 3.688 kB / 1.273 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.7835, allocations: 9.594 kB / 1.273 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.7837, allocations: 100.6 kB / 1.273 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.7837, allocations: 5.031 kB / 1.273 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.7837, allocations: 1.516 kB / 1.273 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.7837, allocations: 1.875 kB / 1.273 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.489e-05/0.7838, allocations: 35.8 kB / 1.273 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004084/0.7842, allocations: 441.7 kB / 1.274 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.92e-05/0.7842, allocations: 41.77 kB / 1.274 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.1e-05/0.7842, allocations: 16.48 kB / 1.274 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.394e-06/0.7842, allocations: 0.9375 kB / 1.274 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.553e-05/0.7843, allocations: 39.92 kB / 1.274 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.7843, allocations: 0.875 kB / 1.274 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001508/0.7844, allocations: 60.44 kB / 1.274 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.985e-05/0.7844, allocations: 77.98 kB / 1.274 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.7846, allocations: 159.1 kB / 1.274 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.029e-06/0.7846, allocations: 26.3 kB / 1.274 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.021e-05/0.7846, allocations: 103.6 kB / 1.274 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.886e-06/0.7846, allocations: 10.3 kB / 1.274 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.663e-05/0.7846, allocations: 18.05 kB / 1.274 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.225e-05/0.7847, allocations: 323.6 kB / 1.275 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.663e-05/0.7847, allocations: 4.297 kB / 1.275 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.954e-05/0.7847, allocations: 20.27 kB / 1.275 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.366e-05/0.7848, allocations: 30.94 kB / 1.275 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.7848, allocations: 1.031 kB / 1.275 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.004e-05/0.7848, allocations: 60.7 kB / 1.275 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.7848, allocations: 10.03 kB / 1.275 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.7848, allocations: 0.625 kB / 1.275 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.7849, allocations: 4.75 kB / 1.275 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.912e-05/0.7849, allocations: 10.56 kB / 1.275 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.7849, allocations: 1.453 kB / 1.275 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.818e-05/0.7849, allocations: 6.031 kB / 1.275 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.785, allocations: 1.75 kB / 1.275 GB, free: 4.828 MB / 0.9981 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 4.754e-05/0.785, allocations: 114.2 kB / 1.275 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.077e-05/0.785, allocations: 19.47 kB / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.494e-05/0.7851, allocations: 17.2 kB / 1.275 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.7851, allocations: 0.8125 kB / 1.275 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.7851, allocations: 0.8438 kB / 1.275 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.7851, allocations: 1.641 kB / 1.275 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002464/0.7853, allocations: 466.8 kB / 1.275 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.7853, allocations: 0 / 1.275 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.804e-05/0.7853, allocations: 9.266 kB / 1.275 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.7853, allocations: 0 / 1.275 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.7853, allocations: 1 kB / 1.275 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.7854, allocations: 0.9062 kB / 1.275 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.7854, allocations: 0.9062 kB / 1.275 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.81e-05/0.7854, allocations: 84.86 kB / 1.275 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.001e-05/0.7854, allocations: 89.16 kB / 1.276 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.7855, allocations: 5 kB / 1.276 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.947e-05/0.7855, allocations: 1.438 kB / 1.276 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.007e-05/0.7855, allocations: 0.9062 kB / 1.276 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.7855, allocations: 0.8438 kB / 1.276 GB, free: 4.004 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.818e-05/0.7856, allocations: 124.2 kB / 1.276 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.7856, allocations: 0 / 1.276 GB, free: 3.914 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001723/0.7857, allocations: 7.281 kB / 1.276 GB, free: 3.914 MB / 0.9981 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.0002284/0.786, allocations: 0.6201 MB / 1.276 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.054e-05/0.786, allocations: 16.73 kB / 1.276 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.786, allocations: 1 kB / 1.276 GB, free: 3.293 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.064e-05/0.786, allocations: 11.88 kB / 1.276 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001445/0.7862, allocations: 14.88 kB / 1.276 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009797/0.7872, allocations: 1.329 MB / 1.278 GB, free: 18.05 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.7875, allocations: 0.6924 MB / 1.278 GB, free: 17.36 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.477e-05/0.7875, allocations: 11.89 kB / 1.278 GB, free: 17.35 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.132e-05/0.7876, allocations: 23.56 kB / 1.278 GB, free: 17.33 MB / 1.014 GB Notification: Performance of SimCode: time 3.5e-07/0.7876, allocations: 0 / 1.278 GB, free: 17.33 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02285/0.8104, allocations: 1.568 MB / 1.28 GB, free: 16.95 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.937/7.747, allocations: 9.344 kB / 1.28 GB, free: 16.95 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.060722095004166]