Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.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.001014/0.001014, allocations: 77.97 kB / 20.68 MB, free: 3.809 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.001609/0.001609, allocations: 181.3 kB / 24.09 MB, free: 412 kB / 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.9793/0.9793, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.785/1.785, allocations: 359 MB / 0.6055 GB, free: 10.91 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.657e-06/3.657e-06, allocations: 4.594 kB / 0.7876 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.939e-05/3.304e-05, allocations: 3.344 kB / 0.7876 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002513/0.002546, allocations: 0.8112 MB / 0.7884 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001474/0.002694, allocations: 48.44 kB / 0.7884 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.983e-05/0.002754, allocations: 1.25 kB / 0.7884 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.702e-05/0.002791, allocations: 11.81 kB / 0.7884 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.459e-05/0.002885, allocations: 15.86 kB / 0.7884 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 5.068e-05/0.002936, allocations: 17.58 kB / 0.7884 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.00306, allocations: 59.84 kB / 0.7885 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.003211, allocations: 31.97 kB / 0.7885 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.003333, allocations: 39.84 kB / 0.7886 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.035e-05/0.003373, allocations: 24.41 kB / 0.7886 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.00339, allocations: 7.438 kB / 0.7886 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.127e-06/0.003399, allocations: 4 kB / 0.7886 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.388e-05/0.003423, allocations: 15.92 kB / 0.7886 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.947e-05/0.003452, allocations: 11.94 kB / 0.7886 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001013/0.003554, allocations: 47.77 kB / 0.7887 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.003556, allocations: 0 / 0.7887 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.082e-06/0.003558, allocations: 0 / 0.7887 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.336e-06/0.003561, allocations: 0 / 0.7887 GB, free: 11.09 MB / 0.7448 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.0003821/0.003943, allocations: 416.2 kB / 0.7891 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.003984, allocations: 8.75 kB / 0.7891 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.615e-05/0.004021, allocations: 12.89 kB / 0.7891 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.004167, allocations: 138.2 kB / 0.7892 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.004181, allocations: 8.312 kB / 0.7892 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.004193, allocations: 8.375 kB / 0.7892 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.00432, allocations: 87.41 kB / 0.7893 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.004329, allocations: 0.8438 kB / 0.7893 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.004337, allocations: 4.375 kB / 0.7893 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.004345, allocations: 5.078 kB / 0.7893 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.719e-05/0.004392, allocations: 27.84 kB / 0.7894 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005511/0.004943, allocations: 0.7235 MB / 0.7901 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.005049, allocations: 269.4 kB / 0.7903 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.917e-05/0.005098, allocations: 127.7 kB / 0.7904 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.964e-05/0.005137, allocations: 119.2 kB / 0.7906 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.121e-05/0.005199, allocations: 157.9 kB / 0.7907 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.0052, allocations: 0 / 0.7907 GB, free: 8.863 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 7.14e-05/0.005271, allocations: 37.69 kB / 0.7907 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.746e-05/0.005339, allocations: 179.6 kB / 0.7909 GB, free: 8.633 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.005463, allocations: 195.5 kB / 0.7911 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.005472, allocations: 25.7 kB / 0.7911 GB, free: 8.395 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.415e-05/0.005556, allocations: 179.3 kB / 0.7913 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-06/0.005558, allocations: 0 / 0.7913 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.127e-05/0.0056, allocations: 32.55 kB / 0.7913 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.005749, allocations: 496.1 kB / 0.7918 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.345e-05/0.005763, allocations: 7.984 kB / 0.7918 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.591e-05/0.005819, allocations: 77.48 kB / 0.7919 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.981e-05/0.005899, allocations: 88.33 kB / 0.792 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.005901, allocations: 0.875 kB / 0.792 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001681/0.006069, allocations: 86.8 kB / 0.7921 GB, free: 7.355 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.006084, allocations: 5.375 kB / 0.7921 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.006091, allocations: 4 kB / 0.7921 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.006103, allocations: 0 / 0.7921 GB, free: 7.348 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.409e-05/0.006157, allocations: 17.22 kB / 0.7921 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.006163, allocations: 7.984 kB / 0.7921 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.639e-05/0.0062, allocations: 7.938 kB / 0.7921 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.006208, allocations: 8 kB / 0.7921 GB, free: 7.309 MB / 0.7448 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 0.0001031/0.006311, allocations: 276.5 kB / 0.7924 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.831e-05/0.00638, allocations: 161.7 kB / 0.7925 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.046e-05/0.00644, allocations: 156.7 kB / 0.7927 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.416e-05/0.006514, allocations: 272 kB / 0.7929 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-05/0.006588, allocations: 273.3 kB / 0.7932 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.456e-05/0.006663, allocations: 272 kB / 0.7934 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.006892, allocations: 496.4 kB / 0.7939 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-05/0.006933, allocations: 149.8 kB / 0.7941 GB, free: 5.211 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.418e-05/0.006997, allocations: 144.9 kB / 0.7942 GB, free: 5.062 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.827e-05/0.007076, allocations: 278.2 kB / 0.7945 GB, free: 4.785 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.367e-05/0.007159, allocations: 268.1 kB / 0.7947 GB, free: 4.516 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.812e-05/0.007237, allocations: 268.2 kB / 0.795 GB, free: 4.246 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.942e-05/0.007307, allocations: 264.1 kB / 0.7952 GB, free: 3.98 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/0.007474, allocations: 455.8 kB / 0.7957 GB, free: 3.508 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.938e-05/0.007533, allocations: 152.8 kB / 0.7958 GB, free: 3.352 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.14e-05/0.007615, allocations: 275.2 kB / 0.7961 GB, free: 3.078 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.698e-05/0.007702, allocations: 148.9 kB / 0.7962 GB, free: 2.926 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.22e-05/0.007784, allocations: 268.3 kB / 0.7965 GB, free: 2.656 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.867e-05/0.007832, allocations: 148.9 kB / 0.7966 GB, free: 2.504 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.774e-05/0.0079, allocations: 140 kB / 0.7967 GB, free: 2.367 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.0079, allocations: 0 / 0.7967 GB, free: 2.367 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002609/0.008161, allocations: 15.95 kB / 0.7968 GB, free: 2.352 MB / 0.7448 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.0001531/0.008314, allocations: 215.6 kB / 0.797 GB, free: 2.133 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.535e-05/0.008399, allocations: 40.12 kB / 0.797 GB, free: 2.09 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.008401, allocations: 0.5 kB / 0.797 GB, free: 2.09 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.535e-06/0.008404, allocations: 3.938 kB / 0.797 GB, free: 2.086 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004541/0.008858, allocations: 0.7067 MB / 0.7977 GB, free: 1.375 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003288/0.009187, allocations: 282.2 kB / 0.798 GB, free: 1.07 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.852e-05/0.009215, allocations: 55.36 kB / 0.798 GB, free: 0.9961 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.412e-05/0.009249, allocations: 11.31 kB / 0.798 GB, free: 0.9844 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.976e-05/0.009279, allocations: 74.2 kB / 0.7981 GB, free: 0.9102 MB / 0.7448 GB Notification: Performance of SimCode: time 1.453e-06/0.00928, allocations: 1.094 kB / 0.7981 GB, free: 0.9102 MB / 0.7448 GB Notification: Performance of Templates: time 0.001829/0.01111, allocations: 332.6 kB / 0.7984 GB, free: 0.5977 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.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: 4.9570833360776305]