Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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.001366/0.001366, allocations: 81.17 kB / 19.87 MB, free: 4.617 MB / 18.57 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.0009656/0.0009656, allocations: 173 kB / 23.28 MB, free: 1.219 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.9962/0.9962, allocations: 177.1 MB / 203.7 MB, free: 5.488 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 2.548/2.548, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.8897 GB, free: 9.75 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.905e-05/3.097e-05, allocations: 4.984 kB / 0.8898 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.001816/0.001847, allocations: 0.8218 MB / 0.8906 GB, free: 8.926 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0001496/0.001997, allocations: 39.78 kB / 0.8906 GB, free: 8.887 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.359e-05/0.00205, allocations: 4 kB / 0.8906 GB, free: 8.883 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 4.032e-05/0.00209, allocations: 11.86 kB / 0.8906 GB, free: 8.871 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 8.542e-05/0.002176, allocations: 11.81 kB / 0.8906 GB, free: 8.859 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 4.596e-05/0.002222, allocations: 23.98 kB / 0.8906 GB, free: 8.836 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.002329, allocations: 59.84 kB / 0.8907 GB, free: 8.777 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.002449, allocations: 27.97 kB / 0.8907 GB, free: 8.75 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.002551, allocations: 47.83 kB / 0.8908 GB, free: 8.703 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.633e-05/0.002588, allocations: 7.984 kB / 0.8908 GB, free: 8.695 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.002604, allocations: 7.938 kB / 0.8908 GB, free: 8.688 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.705e-06/0.002612, allocations: 4 kB / 0.8908 GB, free: 8.684 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.894e-05/0.002631, allocations: 15.98 kB / 0.8908 GB, free: 8.668 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.847e-05/0.00266, allocations: 23.92 kB / 0.8908 GB, free: 8.645 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 9.146e-05/0.002751, allocations: 39.72 kB / 0.8909 GB, free: 8.605 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.002755, allocations: 4 kB / 0.8909 GB, free: 8.602 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.545e-06/0.002757, allocations: 7.984 kB / 0.8909 GB, free: 8.594 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.002762, allocations: 0 / 0.8909 GB, free: 8.594 MB / 0.8542 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.000355/0.003117, allocations: 408.2 kB / 0.8913 GB, free: 8.156 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.00316, allocations: 12.62 kB / 0.8913 GB, free: 8.145 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.336e-05/0.003194, allocations: 20.84 kB / 0.8913 GB, free: 8.125 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.003333, allocations: 136.4 kB / 0.8914 GB, free: 7.965 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.003343, allocations: 8.375 kB / 0.8914 GB, free: 7.957 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.003353, allocations: 8.312 kB / 0.8914 GB, free: 7.949 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.003459, allocations: 81.59 kB / 0.8915 GB, free: 7.855 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.003466, allocations: 4.188 kB / 0.8915 GB, free: 7.852 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.003474, allocations: 8.359 kB / 0.8915 GB, free: 7.844 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.003481, allocations: 8.359 kB / 0.8915 GB, free: 7.836 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.402e-05/0.003515, allocations: 23.86 kB / 0.8916 GB, free: 7.812 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004417/0.003957, allocations: 0.7147 MB / 0.8923 GB, free: 7.051 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.004059, allocations: 261.4 kB / 0.8925 GB, free: 6.781 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.736e-05/0.004096, allocations: 130.9 kB / 0.8926 GB, free: 6.648 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.461e-05/0.004131, allocations: 123.2 kB / 0.8928 GB, free: 6.527 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.668e-05/0.004197, allocations: 152.6 kB / 0.8929 GB, free: 6.367 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 3.647e-06/0.004201, allocations: 4 kB / 0.8929 GB, free: 6.363 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 7.412e-05/0.004275, allocations: 41.67 kB / 0.8929 GB, free: 6.316 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/0.004334, allocations: 170.6 kB / 0.8931 GB, free: 6.137 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.004465, allocations: 203 kB / 0.8933 GB, free: 5.922 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.076e-06/0.004473, allocations: 25.7 kB / 0.8933 GB, free: 5.891 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.379e-05/0.004557, allocations: 178.5 kB / 0.8935 GB, free: 5.711 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.475e-06/0.004559, allocations: 0 / 0.8935 GB, free: 5.711 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/0.004597, allocations: 31.33 kB / 0.8935 GB, free: 5.672 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.004729, allocations: 496.1 kB / 0.894 GB, free: 5.176 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.237e-05/0.004742, allocations: 11.92 kB / 0.894 GB, free: 5.164 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.634e-05/0.004788, allocations: 73.48 kB / 0.8941 GB, free: 5.059 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.706e-05/0.004865, allocations: 93.36 kB / 0.8942 GB, free: 4.934 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.004869, allocations: 4 kB / 0.8942 GB, free: 4.93 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000124/0.004993, allocations: 81.5 kB / 0.8942 GB, free: 4.844 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.005009, allocations: 4 kB / 0.8943 GB, free: 4.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.005016, allocations: 4 kB / 0.8943 GB, free: 4.836 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.005031, allocations: 4 kB / 0.8943 GB, free: 4.832 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.75e-05/0.005088, allocations: 19.92 kB / 0.8943 GB, free: 4.812 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.858e-06/0.005092, allocations: 0 / 0.8943 GB, free: 4.812 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.729e-05/0.005129, allocations: 11.89 kB / 0.8943 GB, free: 4.801 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.005134, allocations: 4 kB / 0.8943 GB, free: 4.797 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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 9.922e-05/0.005233, allocations: 280 kB / 0.8946 GB, free: 4.512 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.235e-05/0.005286, allocations: 164.8 kB / 0.8947 GB, free: 4.344 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.306e-05/0.005339, allocations: 152.7 kB / 0.8949 GB, free: 4.184 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.21e-05/0.005401, allocations: 268.1 kB / 0.8951 GB, free: 3.914 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.871e-05/0.005469, allocations: 272 kB / 0.8954 GB, free: 3.641 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.873e-05/0.005548, allocations: 268 kB / 0.8956 GB, free: 3.371 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.005748, allocations: 0.4926 MB / 0.8961 GB, free: 2.844 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.431e-05/0.005782, allocations: 144.9 kB / 0.8963 GB, free: 2.695 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.845e-05/0.00582, allocations: 152.9 kB / 0.8964 GB, free: 2.539 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.252e-05/0.005893, allocations: 272 kB / 0.8967 GB, free: 2.266 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.945e-05/0.005962, allocations: 264.1 kB / 0.8969 GB, free: 2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.975e-05/0.006032, allocations: 272 kB / 0.8972 GB, free: 1.727 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.155e-05/0.006104, allocations: 268.1 kB / 0.8974 GB, free: 1.457 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001613/0.006265, allocations: 460.1 kB / 0.8979 GB, free: 0.9805 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.893e-05/0.006324, allocations: 152.8 kB / 0.898 GB, free: 0.8242 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.471e-05/0.006399, allocations: 272 kB / 0.8983 GB, free: 0.5508 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.132e-05/0.00646, allocations: 144.9 kB / 0.8984 GB, free: 412 kB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.749e-05/0.006557, allocations: 272 kB / 0.8987 GB, free: 132 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.795e-05/0.006605, allocations: 148.9 kB / 0.8988 GB, free: 15.98 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.614e-05/0.006672, allocations: 145.4 kB / 0.8989 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4e-08/0.006672, allocations: 0 / 0.8989 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001651/0.006837, allocations: 8 kB / 0.899 GB, free: 15.83 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001338/0.00697, allocations: 214.4 kB / 0.8992 GB, free: 15.61 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 9.307e-05/0.007064, allocations: 35.55 kB / 0.8992 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.007066, allocations: 3.938 kB / 0.8992 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.007068, allocations: 3.938 kB / 0.8992 GB, free: 15.56 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003181/0.007386, allocations: 0.7023 MB / 0.8999 GB, free: 14.86 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003068/0.007693, allocations: 277.6 kB / 0.9002 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.316e-05/0.007736, allocations: 59.84 kB / 0.9002 GB, free: 14.48 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.157e-05/0.007777, allocations: 8.734 kB / 0.9002 GB, free: 14.46 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.95e-05/0.007827, allocations: 74.2 kB / 0.9003 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of SimCode: time 9.52e-07/0.007828, allocations: 0 / 0.9003 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of Templates: time 0.002079/0.009907, allocations: 343.3 kB / 0.9006 GB, free: 14.06 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.3307278347201645]