Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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.0009516/0.0009516, allocations: 86.05 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.0009699/0.0009699, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.9367/0.9367, 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.444/2.444, allocations: 438.1 MB / 0.682 GB, free: 14.17 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_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.8898 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.097e-05/2.234e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.754 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.001565/0.001587, allocations: 0.8529 MB / 0.8906 GB, free: 8.902 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0001223/0.001709, allocations: 51.77 kB / 0.8906 GB, free: 8.852 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.735e-05/0.001757, allocations: 0 / 0.8906 GB, free: 8.852 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.309e-05/0.00179, allocations: 15.81 kB / 0.8907 GB, free: 8.836 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.854e-05/0.001858, allocations: 15.81 kB / 0.8907 GB, free: 8.82 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 4.884e-05/0.001907, allocations: 27.95 kB / 0.8907 GB, free: 8.793 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.897e-05/0.001996, allocations: 79.77 kB / 0.8908 GB, free: 8.715 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.0021, allocations: 37.28 kB / 0.8908 GB, free: 8.68 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 7.682e-05/0.002177, allocations: 59.83 kB / 0.8909 GB, free: 8.621 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.072e-05/0.002217, allocations: 11.92 kB / 0.8909 GB, free: 8.609 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.002234, allocations: 8 kB / 0.8909 GB, free: 8.602 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.534e-06/0.002241, allocations: 4 kB / 0.8909 GB, free: 8.598 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.185e-05/0.002263, allocations: 23.91 kB / 0.8909 GB, free: 8.574 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.341e-05/0.002287, allocations: 15.94 kB / 0.8909 GB, free: 8.559 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 8.829e-05/0.002375, allocations: 67.61 kB / 0.891 GB, free: 8.492 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.002377, allocations: 0 / 0.891 GB, free: 8.492 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.515e-06/0.002379, allocations: 4 kB / 0.891 GB, free: 8.488 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.056e-06/0.002382, allocations: 0 / 0.891 GB, free: 8.488 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.000294/0.002676, allocations: 424.3 kB / 0.8914 GB, free: 8.035 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.002714, allocations: 12.62 kB / 0.8914 GB, free: 8.023 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.89e-05/0.002743, allocations: 20.84 kB / 0.8914 GB, free: 8.004 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.002854, allocations: 156.3 kB / 0.8916 GB, free: 7.824 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.002863, allocations: 4.562 kB / 0.8916 GB, free: 7.82 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.736e-06/0.002872, allocations: 8.375 kB / 0.8916 GB, free: 7.812 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.436e-05/0.002966, allocations: 95.95 kB / 0.8917 GB, free: 7.707 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.002973, allocations: 4 kB / 0.8917 GB, free: 7.703 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.002981, allocations: 8 kB / 0.8917 GB, free: 7.695 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.002985, allocations: 0 / 0.8917 GB, free: 7.695 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.939e-05/0.003015, allocations: 31.86 kB / 0.8917 GB, free: 7.664 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003767/0.003392, allocations: 0.7379 MB / 0.8924 GB, free: 6.879 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 7.371e-05/0.003465, allocations: 269.4 kB / 0.8927 GB, free: 6.602 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.845e-05/0.003494, allocations: 126.9 kB / 0.8928 GB, free: 6.473 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/0.00352, allocations: 127.2 kB / 0.8929 GB, free: 6.348 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/0.00356, allocations: 156.5 kB / 0.8931 GB, free: 6.184 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.00356, allocations: 0 / 0.8931 GB, free: 6.184 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 5.677e-05/0.003617, allocations: 33.66 kB / 0.8931 GB, free: 6.145 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.00366, allocations: 170.6 kB / 0.8933 GB, free: 5.965 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003515/0.004012, allocations: 208.3 kB / 0.8935 GB, free: 5.746 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.862e-06/0.004019, allocations: 29.7 kB / 0.8935 GB, free: 5.711 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.434e-05/0.004083, allocations: 182.4 kB / 0.8937 GB, free: 5.527 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-06/0.004086, allocations: 3.984 kB / 0.8937 GB, free: 5.523 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.8e-05/0.004114, allocations: 27.33 kB / 0.8937 GB, free: 5.488 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.004217, allocations: 0.4884 MB / 0.8942 GB, free: 4.988 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.917e-06/0.004226, allocations: 7.984 kB / 0.8942 GB, free: 4.98 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.611e-05/0.004262, allocations: 77.42 kB / 0.8943 GB, free: 4.871 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.541e-05/0.004318, allocations: 89.42 kB / 0.8944 GB, free: 4.75 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.004321, allocations: 3.938 kB / 0.8944 GB, free: 4.746 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.436e-05/0.004415, allocations: 81.5 kB / 0.8944 GB, free: 4.66 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.004427, allocations: 4.469 kB / 0.8945 GB, free: 4.656 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.004432, allocations: 4 kB / 0.8945 GB, free: 4.652 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.004442, allocations: 7.938 kB / 0.8945 GB, free: 4.645 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.723e-05/0.00449, allocations: 19.92 kB / 0.8945 GB, free: 4.625 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.004493, allocations: 4 kB / 0.8945 GB, free: 4.621 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.352e-05/0.004517, allocations: 11.89 kB / 0.8945 GB, free: 4.609 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-06/0.00452, allocations: 0 / 0.8945 GB, free: 4.609 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 8.871e-05/0.004609, allocations: 287.6 kB / 0.8948 GB, free: 4.316 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.339e-05/0.004652, allocations: 152.8 kB / 0.8949 GB, free: 4.16 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.921e-05/0.004701, allocations: 156.7 kB / 0.8951 GB, free: 3.996 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.628e-05/0.004758, allocations: 276 kB / 0.8953 GB, free: 3.719 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.255e-05/0.00481, allocations: 272.1 kB / 0.8956 GB, free: 3.445 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.347e-05/0.004864, allocations: 272 kB / 0.8958 GB, free: 3.172 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.005029, allocations: 496.5 kB / 0.8963 GB, free: 2.652 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.083e-05/0.00506, allocations: 148.9 kB / 0.8965 GB, free: 2.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.09e-05/0.005091, allocations: 152.8 kB / 0.8966 GB, free: 2.344 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.896e-05/0.00515, allocations: 268 kB / 0.8969 GB, free: 2.074 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.341e-05/0.005203, allocations: 272 kB / 0.8971 GB, free: 1.801 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-05/0.005253, allocations: 268.1 kB / 0.8974 GB, free: 1.531 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-05/0.005304, allocations: 264.3 kB / 0.8976 GB, free: 1.266 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/0.005418, allocations: 455.9 kB / 0.8981 GB, free: 0.793 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.757e-05/0.005465, allocations: 164.7 kB / 0.8982 GB, free: 0.625 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.473e-05/0.00553, allocations: 268.1 kB / 0.8985 GB, free: 364 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.417e-05/0.005584, allocations: 160.9 kB / 0.8986 GB, free: 196 kB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.766e-05/0.005652, allocations: 268 kB / 0.8989 GB, free: 15.92 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.968e-05/0.005681, allocations: 144.9 kB / 0.899 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.456e-05/0.005736, allocations: 151 kB / 0.8992 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.005736, allocations: 0 / 0.8992 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001484/0.005884, allocations: 15.89 kB / 0.8992 GB, free: 15.61 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.0001067/0.005991, allocations: 218.4 kB / 0.8994 GB, free: 15.39 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 6.657e-05/0.006058, allocations: 35.55 kB / 0.8994 GB, free: 15.35 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.00606, allocations: 0 / 0.8994 GB, free: 15.35 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.82e-07/0.00606, allocations: 0 / 0.8994 GB, free: 15.35 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.006334, allocations: 0.7062 MB / 0.9001 GB, free: 14.64 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002525/0.006587, allocations: 293.9 kB / 0.9004 GB, free: 14.31 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.228e-05/0.006619, allocations: 63.33 kB / 0.9005 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.211e-05/0.006651, allocations: 12.98 kB / 0.9005 GB, free: 14.22 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.053e-05/0.006682, allocations: 70.2 kB / 0.9005 GB, free: 14.15 MB / 0.8698 GB Notification: Performance of SimCode: time 6.91e-07/0.006683, allocations: 3.938 kB / 0.9005 GB, free: 14.14 MB / 0.8698 GB Notification: Performance of Templates: time 0.002006/0.008689, allocations: 351.4 kB / 0.9009 GB, free: 13.8 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.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.239280373323709]