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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008264/0.0008264, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008502/0.0008502, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.902/0.902, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.76/1.76, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.724e-05/1.911e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001327/0.001346, allocations: 0.7863 MB / 1 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 9.867e-05/0.001445, allocations: 39.78 kB / 1 GB, free: 12.67 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.041e-05/0.001495, allocations: 3.938 kB / 1 GB, free: 12.67 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.298e-05/0.001528, allocations: 11.86 kB / 1.001 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.035e-05/0.001589, allocations: 7.938 kB / 1.001 GB, free: 12.65 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 4.358e-05/0.001632, allocations: 19.98 kB / 1.001 GB, free: 12.63 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.517e-05/0.001718, allocations: 59.78 kB / 1.001 GB, free: 12.57 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.001831, allocations: 31.97 kB / 1.001 GB, free: 12.54 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.186e-05/0.001893, allocations: 43.84 kB / 1.001 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.002e-05/0.001933, allocations: 19.89 kB / 1.001 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.001954, allocations: 4 kB / 1.001 GB, free: 12.47 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.394e-06/0.001962, allocations: 8 kB / 1.001 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.761e-05/0.001979, allocations: 11.94 kB / 1.001 GB, free: 12.45 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.632e-05/0.002006, allocations: 23.91 kB / 1.001 GB, free: 12.43 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.32e-05/0.002099, allocations: 71.77 kB / 1.001 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.0021, allocations: 0 / 1.001 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.51e-07/0.002101, allocations: 0 / 1.001 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.002105, allocations: 3.984 kB / 1.001 GB, free: 12.36 MB / 0.9636 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.0003249/0.00243, allocations: 306 kB / 1.001 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.00247, allocations: 8.75 kB / 1.001 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.303e-05/0.002503, allocations: 42.73 kB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.498e-05/0.002528, allocations: 8.891 kB / 1.001 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.002705, allocations: 137.5 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.002717, allocations: 4.375 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.002731, allocations: 8.375 kB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.002879, allocations: 93.42 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.002888, allocations: 192 / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.002901, allocations: 8.375 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/0.002908, allocations: 12.06 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.213e-05/0.00298, allocations: 31.98 kB / 1.001 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004694/0.00345, allocations: 395.7 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.469e-05/0.003505, allocations: 37.34 kB / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.137e-05/0.003536, allocations: 17.78 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.933e-06/0.003543, allocations: 0 / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.003572, allocations: 38.56 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.003573, allocations: 3.938 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001693/0.003742, allocations: 53.64 kB / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.279e-05/0.003785, allocations: 84.98 kB / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.003896, allocations: 160.8 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.003907, allocations: 29.7 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.201e-05/0.003959, allocations: 112 kB / 1.002 GB, free: 10.6 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 5.68e-06/0.003964, allocations: 7.891 kB / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.651e-05/0.003991, allocations: 17.72 kB / 1.002 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.96e-05/0.00407, allocations: 318.8 kB / 1.003 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.305e-05/0.004084, allocations: 4 kB / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.756e-05/0.004101, allocations: 21.72 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.291e-05/0.004134, allocations: 25.97 kB / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.004135, allocations: 0 / 1.003 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.667e-05/0.004192, allocations: 57.58 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.004205, allocations: 8 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.004209, allocations: 0 / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.004221, allocations: 0 / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.425e-05/0.004275, allocations: 15.94 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.00428, allocations: 3.984 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.438e-05/0.004304, allocations: 11.89 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-06/0.004308, allocations: 8 kB / 1.003 GB, free: 10.07 MB / 0.9636 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 5.843e-05/0.004367, allocations: 117.8 kB / 1.003 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.219e-05/0.004389, allocations: 7.953 kB / 1.003 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.835e-05/0.004407, allocations: 3.812 kB / 1.003 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.004411, allocations: 4 kB / 1.003 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.004416, allocations: 3.938 kB / 1.003 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.004418, allocations: 0 / 1.003 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.004671, allocations: 437.9 kB / 1.003 GB, free: 9.445 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.004672, allocations: 0 / 1.003 GB, free: 9.445 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.138e-05/0.004684, allocations: 12 kB / 1.003 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.004685, allocations: 0 / 1.003 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.004691, allocations: 4 kB / 1.003 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.004694, allocations: 3.984 kB / 1.003 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.004694, allocations: 0 / 1.003 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.682e-05/0.004751, allocations: 74.72 kB / 1.003 GB, free: 9.332 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.076e-05/0.004772, allocations: 19.78 kB / 1.003 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.889e-06/0.004782, allocations: 4 kB / 1.003 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.081e-05/0.004792, allocations: 4.094 kB / 1.003 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.319e-05/0.004806, allocations: 3.984 kB / 1.003 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.004807, allocations: 4.031 kB / 1.003 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.751e-05/0.004865, allocations: 121.5 kB / 1.004 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.004865, allocations: 0 / 1.004 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001278/0.004993, allocations: 8 kB / 1.004 GB, free: 9.172 MB / 0.9636 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.0002758/0.005268, allocations: 0.6093 MB / 1.004 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 8.176e-05/0.00535, allocations: 19.92 kB / 1.004 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.005352, allocations: 0 / 1.004 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.049e-05/0.005363, allocations: 12.16 kB / 1.004 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.005616, allocations: 13.83 kB / 1.004 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.006741, allocations: 1.338 MB / 1.006 GB, free: 7.047 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.413e-05/0.006805, allocations: 75.33 kB / 1.006 GB, free: 6.953 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.639e-05/0.006842, allocations: 12.59 kB / 1.006 GB, free: 6.941 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.713e-05/0.006899, allocations: 32.48 kB / 1.006 GB, free: 6.906 MB / 0.9636 GB Notification: Performance of SimCode: time 5.51e-07/0.006899, allocations: 0 / 1.006 GB, free: 6.906 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01461/0.02151, allocations: 2.223 MB / 1.008 GB, free: 4.812 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.352/6.374, allocations: 19.38 kB / 1.008 GB, free: 4.797 MB / 0.9636 GB " [Timeout remaining time 294] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_ton_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_ton.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.455930830910802]