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.001653/0.001653, allocations: 109.2 kB / 17.96 MB, free: 3.918 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.001845/0.001845, allocations: 192.4 kB / 21.22 MB, free: 0.668 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.542/1.542, allocations: 225.6 MB / 249.9 MB, free: 13.35 MB / 206.1 MB " [Timeout remaining time 178] 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.832/2.832, allocations: 476.7 MB / 0.7635 GB, free: 10.16 MB / 0.6231 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.002022/0.002022, allocations: 71.89 kB / 1.108 GB, free: 7.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8808/0.8828, allocations: 168.7 MB / 1.272 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002392/0.8852, allocations: 0.8354 MB / 1.273 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001338/0.8853, allocations: 39.78 kB / 1.273 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.008e-05/0.8854, allocations: 4 kB / 1.273 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.117e-05/0.8854, allocations: 11.86 kB / 1.273 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.279e-05/0.8855, allocations: 7.875 kB / 1.273 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.774e-05/0.8856, allocations: 19.98 kB / 1.273 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.8857, allocations: 59.84 kB / 1.273 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.8858, allocations: 35.92 kB / 1.273 GB, free: 3.41 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.146e-05/0.8859, allocations: 23.88 kB / 1.273 GB, free: 3.387 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.029e-05/0.886, allocations: 35.78 kB / 1.273 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.886, allocations: 8 kB / 1.273 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.142e-05/0.886, allocations: 4 kB / 1.273 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.779e-05/0.886, allocations: 15.92 kB / 1.273 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.828e-05/0.8861, allocations: 35.8 kB / 1.274 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.8862, allocations: 69.48 kB / 1.274 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.8862, allocations: 0 / 1.274 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8862, allocations: 0 / 1.274 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.8862, allocations: 0 / 1.274 GB, free: 3.223 MB / 0.9669 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.0005175/0.8867, allocations: 387.1 kB / 1.274 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.8868, allocations: 8.031 kB / 1.274 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.616e-05/0.8868, allocations: 38.75 kB / 1.274 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.589e-05/0.8869, allocations: 12.84 kB / 1.274 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.8871, allocations: 204.1 kB / 1.274 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.8871, allocations: 8.375 kB / 1.274 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.8871, allocations: 4.375 kB / 1.274 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.8873, allocations: 95.89 kB / 1.274 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.8873, allocations: 3.938 kB / 1.274 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.8873, allocations: 8 kB / 1.274 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.8873, allocations: 3.984 kB / 1.274 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.789e-05/0.8874, allocations: 35.92 kB / 1.274 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005646/0.888, allocations: 436.7 kB / 1.275 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.782e-05/0.8881, allocations: 45.22 kB / 1.275 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.139e-05/0.8881, allocations: 21.81 kB / 1.275 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.333e-06/0.8881, allocations: 0 / 1.275 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.8881, allocations: 34.56 kB / 1.275 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.8881, allocations: 0 / 1.275 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001783/0.8883, allocations: 61.52 kB / 1.275 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.8884, allocations: 77.11 kB / 1.275 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.8885, allocations: 161.9 kB / 1.275 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.8885, allocations: 25.7 kB / 1.275 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.89e-05/0.8886, allocations: 100.1 kB / 1.275 GB, free: 1.246 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.242e-05/0.8886, allocations: 11.95 kB / 1.275 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.691e-05/0.8887, allocations: 17.67 kB / 1.275 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.8888, allocations: 323.1 kB / 1.276 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.139e-05/0.8888, allocations: 8 kB / 1.276 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.255e-05/0.8889, allocations: 13.72 kB / 1.276 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.839e-05/0.8889, allocations: 29.66 kB / 1.276 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.8889, allocations: 4 kB / 1.276 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.748e-05/0.889, allocations: 53.7 kB / 1.276 GB, free: 0.7617 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.889, allocations: 18.06 kB / 1.276 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.889, allocations: 0 / 1.276 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.419e-05/0.889, allocations: 4 kB / 1.276 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.936e-05/0.8891, allocations: 4 kB / 1.276 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.8891, allocations: 0 / 1.276 GB, free: 0.7383 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.314e-05/0.8891, allocations: 15.88 kB / 1.276 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.8891, allocations: 3.984 kB / 1.276 GB, free: 0.7188 MB / 0.9669 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.215e-05/0.8892, allocations: 109.8 kB / 1.276 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.698e-05/0.8893, allocations: 15.89 kB / 1.276 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.091e-05/0.8893, allocations: 11.88 kB / 1.276 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.8893, allocations: 0 / 1.276 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.8893, allocations: 0 / 1.276 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.8893, allocations: 0 / 1.276 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004134/0.8897, allocations: 478.7 kB / 1.276 GB, free: 48 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.8897, allocations: 7.984 kB / 1.276 GB, free: 40 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.811e-05/0.8897, allocations: 4 kB / 1.276 GB, free: 36 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.8897, allocations: 4.062 kB / 1.276 GB, free: 32 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.8898, allocations: 4 kB / 1.276 GB, free: 28 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.8898, allocations: 0 / 1.276 GB, free: 28 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.8898, allocations: 0 / 1.276 GB, free: 28 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001053/0.8899, allocations: 81.77 kB / 1.276 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.126e-05/0.8899, allocations: 93.05 kB / 1.277 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.8899, allocations: 32 / 1.277 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.901e-05/0.89, allocations: 4 kB / 1.277 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.258e-05/0.89, allocations: 4 kB / 1.277 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.89, allocations: 0 / 1.277 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.647e-05/0.8901, allocations: 119.2 kB / 1.277 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8901, allocations: 0 / 1.277 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001808/0.8902, allocations: 8 kB / 1.277 GB, free: 15.68 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.0004419/0.8907, allocations: 0.6176 MB / 1.277 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.921e-05/0.8908, allocations: 19.98 kB / 1.277 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.8908, allocations: 0 / 1.277 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.393e-05/0.8908, allocations: 11.94 kB / 1.277 GB, free: 15 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/0.8909, allocations: 8.188 kB / 1.277 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.8922, allocations: 1.342 MB / 1.279 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.8925, allocations: 0.6967 MB / 1.279 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.374e-05/0.8926, allocations: 12.42 kB / 1.279 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.926e-05/0.8926, allocations: 23.44 kB / 1.279 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of SimCode: time 4.71e-07/0.8926, allocations: 0 / 1.279 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02432/0.9169, allocations: 1.558 MB / 1.281 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.934/8.851, allocations: 18.52 kB / 1.281 GB, free: 11.3 MB / 0.9825 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_ton_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.050295907072723]