Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 105.7 kB / 17.54 MB, free: 4.742 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.001469/0.001469, 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.295/1.295, allocations: 225.6 MB / 249.3 MB, free: 3.164 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.521/2.521, allocations: 476.7 MB / 0.7628 GB, free: 15.18 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.From_ton,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 67.89 kB / 1.107 GB, free: 5.176 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7793/0.7812, allocations: 168.7 MB / 1.271 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001663/0.7829, allocations: 0.8391 MB / 1.272 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 9.502e-05/0.783, allocations: 45.42 kB / 1.272 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.556e-05/0.783, allocations: 1.562 kB / 1.272 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.377e-05/0.7831, allocations: 9.891 kB / 1.272 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.656e-05/0.7831, allocations: 9.531 kB / 1.272 GB, free: 7.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.942e-05/0.7832, allocations: 20.62 kB / 1.272 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.705e-05/0.7833, allocations: 63.25 kB / 1.272 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.7834, allocations: 30.62 kB / 1.272 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.312e-05/0.7834, allocations: 30.14 kB / 1.272 GB, free: 7.082 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.424e-05/0.7835, allocations: 25.75 kB / 1.272 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.7835, allocations: 6.656 kB / 1.272 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.908e-06/0.7835, allocations: 5.5 kB / 1.272 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.705e-05/0.7835, allocations: 21.2 kB / 1.272 GB, free: 7.051 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.998e-05/0.7835, allocations: 36.17 kB / 1.273 GB, free: 7.023 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.7836, allocations: 73.06 kB / 1.273 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.7837, allocations: 0.75 kB / 1.273 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7837, allocations: 0 / 1.273 GB, free: 6.992 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.7837, allocations: 0 / 1.273 GB, free: 6.992 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.0003161/0.784, allocations: 385.2 kB / 1.273 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.784, allocations: 12.91 kB / 1.273 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.707e-05/0.784, allocations: 43.77 kB / 1.273 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.343e-05/0.7841, allocations: 17.56 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.7842, allocations: 191.8 kB / 1.273 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.7842, allocations: 8.266 kB / 1.273 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.514e-05/0.7842, allocations: 5.438 kB / 1.273 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/0.7844, allocations: 96.59 kB / 1.273 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.7844, allocations: 4.453 kB / 1.273 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.7844, allocations: 0.8438 kB / 1.273 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.7844, allocations: 2.156 kB / 1.273 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7e-05/0.7844, allocations: 44.33 kB / 1.273 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003988/0.7848, allocations: 438.1 kB / 1.274 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.809e-05/0.7849, allocations: 37.5 kB / 1.274 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.051e-05/0.7849, allocations: 24.8 kB / 1.274 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.908e-06/0.7849, allocations: 4 kB / 1.274 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.092e-05/0.7849, allocations: 33.03 kB / 1.274 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.7849, allocations: 0 / 1.274 GB, free: 5.703 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.000144/0.7851, allocations: 57.11 kB / 1.274 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.942e-05/0.7851, allocations: 77.89 kB / 1.274 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.7852, allocations: 163.3 kB / 1.274 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.889e-06/0.7852, allocations: 25.7 kB / 1.274 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.702e-05/0.7853, allocations: 104.1 kB / 1.274 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.532e-06/0.7853, allocations: 5.781 kB / 1.274 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.581e-05/0.7853, allocations: 19.77 kB / 1.274 GB, free: 5.285 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.662e-05/0.7853, allocations: 322.8 kB / 1.275 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.532e-05/0.7853, allocations: 3.719 kB / 1.275 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.781e-05/0.7854, allocations: 20.41 kB / 1.275 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.247e-05/0.7854, allocations: 35.03 kB / 1.275 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.7854, allocations: 0 / 1.275 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.743e-05/0.7855, allocations: 57.48 kB / 1.275 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.7855, allocations: 9.625 kB / 1.275 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.7855, allocations: 0.7812 kB / 1.275 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.7855, allocations: 4.453 kB / 1.275 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.211e-05/0.7855, allocations: 5.438 kB / 1.275 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.7855, allocations: 5 kB / 1.275 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.724e-05/0.7856, allocations: 6.594 kB / 1.275 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-06/0.7856, allocations: 0.625 kB / 1.275 GB, free: 4.859 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.029e-05/0.7856, allocations: 113.7 kB / 1.275 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.028e-05/0.7857, allocations: 16.22 kB / 1.275 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.028e-05/0.7857, allocations: 12.25 kB / 1.275 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.7857, allocations: 4.812 kB / 1.275 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.7857, allocations: 1.094 kB / 1.275 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.7857, allocations: 0.8438 kB / 1.275 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/0.7859, allocations: 475.4 kB / 1.275 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.7859, allocations: 0.9062 kB / 1.275 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.715e-05/0.7859, allocations: 3.938 kB / 1.275 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.7859, allocations: 0 / 1.275 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.7859, allocations: 1.094 kB / 1.275 GB, free: 4.227 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.7859, allocations: 4.969 kB / 1.275 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.786, allocations: 0 / 1.275 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.351e-05/0.786, allocations: 85.36 kB / 1.275 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.732e-05/0.786, allocations: 92.41 kB / 1.276 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.786, allocations: 1.219 kB / 1.276 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.871e-05/0.7861, allocations: 0 / 1.276 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.365e-05/0.7861, allocations: 6.141 kB / 1.276 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.7861, allocations: 1.094 kB / 1.276 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.302e-05/0.7861, allocations: 123.6 kB / 1.276 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.7861, allocations: 0 / 1.276 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001717/0.7863, allocations: 6.906 kB / 1.276 GB, free: 3.938 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.0002118/0.7865, allocations: 0.6218 MB / 1.276 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.84e-05/0.7866, allocations: 18.41 kB / 1.276 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.7866, allocations: 0 / 1.276 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.228e-05/0.7866, allocations: 8.703 kB / 1.276 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001362/0.7868, allocations: 12.08 kB / 1.276 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008621/0.7876, allocations: 1.338 MB / 1.278 GB, free: 18.07 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.7879, allocations: 0.6909 MB / 1.278 GB, free: 17.38 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.717e-05/0.7879, allocations: 7.094 kB / 1.278 GB, free: 17.38 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.776e-05/0.788, allocations: 25.91 kB / 1.278 GB, free: 17.36 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/0.788, allocations: 0 / 1.278 GB, free: 17.36 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02439/0.8123, allocations: 1.563 MB / 1.28 GB, free: 16.98 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.044/7.856, allocations: 9.688 kB / 1.28 GB, free: 16.97 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_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_From_ton.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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.225122559000738]