Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001372/0.001372, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001482/0.001482, allocations: 181 kB / 24.09 MB, free: 420 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.932/0.932, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.8/1.8, 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.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 0.7876 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.351e-05, allocations: 4.703 kB / 0.7876 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.001541/0.001564, allocations: 0.8186 MB / 0.7884 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001209/0.001685, allocations: 41.34 kB / 0.7884 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.881e-05/0.001734, allocations: 4 kB / 0.7884 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.616e-05/0.00177, allocations: 7.875 kB / 0.7884 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.534e-05/0.001845, allocations: 11.88 kB / 0.7884 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 4.525e-05/0.001891, allocations: 20.56 kB / 0.7884 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.669e-05/0.001977, allocations: 63.83 kB / 0.7885 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.002085, allocations: 29.39 kB / 0.7885 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.827e-05/0.002173, allocations: 51.77 kB / 0.7886 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.641e-05/0.00221, allocations: 11.92 kB / 0.7886 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.002226, allocations: 5.125 kB / 0.7886 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.245e-06/0.002234, allocations: 8 kB / 0.7886 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.824e-05/0.002252, allocations: 11.98 kB / 0.7886 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.668e-05/0.002279, allocations: 20.73 kB / 0.7886 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.034e-05/0.002369, allocations: 39.77 kB / 0.7887 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.002372, allocations: 4.906 kB / 0.7887 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.01e-07/0.002373, allocations: 0 / 0.7887 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.002376, allocations: 0 / 0.7887 GB, free: 11.08 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.0003225/0.002699, allocations: 406.6 kB / 0.7891 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.002735, allocations: 12.03 kB / 0.7891 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.782e-05/0.002763, allocations: 16.89 kB / 0.7891 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.002888, allocations: 144.4 kB / 0.7892 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.002898, allocations: 8.375 kB / 0.7892 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.226e-06/0.002906, allocations: 4.375 kB / 0.7892 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.003024, allocations: 83.36 kB / 0.7893 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.003031, allocations: 192 / 0.7893 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.036e-06/0.003039, allocations: 4.375 kB / 0.7893 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.003045, allocations: 4.375 kB / 0.7893 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.567e-05/0.003071, allocations: 19.92 kB / 0.7894 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003883/0.003459, allocations: 0.7235 MB / 0.7901 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001359/0.003595, allocations: 277.5 kB / 0.7903 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.956e-05/0.003624, allocations: 127.4 kB / 0.7904 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.047e-05/0.003655, allocations: 124.8 kB / 0.7906 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.887e-05/0.003694, allocations: 152.6 kB / 0.7907 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.003695, allocations: 0 / 0.7907 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 4.894e-05/0.003744, allocations: 33.66 kB / 0.7907 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/0.003797, allocations: 175 kB / 0.7909 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.988e-05/0.003897, allocations: 203.5 kB / 0.7911 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.826e-06/0.003906, allocations: 26.27 kB / 0.7911 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.88e-05/0.003975, allocations: 179.2 kB / 0.7913 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-06/0.003978, allocations: 4 kB / 0.7913 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.004007, allocations: 32.45 kB / 0.7913 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.00412, allocations: 0.4923 MB / 0.7918 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.66e-06/0.004126, allocations: 0 / 0.7918 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.939e-05/0.004165, allocations: 73.48 kB / 0.7919 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/0.004385, allocations: 92.48 kB / 0.792 GB, free: 7.43 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.004388, allocations: 5.219 kB / 0.792 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.121e-05/0.004479, allocations: 86.77 kB / 0.7921 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.004491, allocations: 11.98 kB / 0.7921 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.004496, allocations: 1.562 kB / 0.7921 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.004507, allocations: 4 kB / 0.7921 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.249e-05/0.004549, allocations: 12 kB / 0.7921 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.004552, allocations: 0 / 0.7921 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.125e-05/0.004574, allocations: 10.72 kB / 0.7921 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-06/0.004578, allocations: 4 kB / 0.7921 GB, free: 7.297 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 8.426e-05/0.004662, allocations: 287.6 kB / 0.7924 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.558e-05/0.004708, allocations: 156.8 kB / 0.7925 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.951e-05/0.004767, allocations: 152.6 kB / 0.7927 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-05/0.004823, allocations: 268.1 kB / 0.7929 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.604e-05/0.004889, allocations: 264.1 kB / 0.7932 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.638e-05/0.004946, allocations: 280.4 kB / 0.7934 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.005107, allocations: 497 kB / 0.7939 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.311e-05/0.005141, allocations: 148.8 kB / 0.7941 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.134e-05/0.005172, allocations: 146.8 kB / 0.7942 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.845e-05/0.00523, allocations: 272 kB / 0.7945 GB, free: 4.777 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.409e-05/0.005284, allocations: 264.1 kB / 0.7947 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.289e-05/0.005337, allocations: 268.1 kB / 0.795 GB, free: 4.242 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.015e-05/0.005398, allocations: 272 kB / 0.7952 GB, free: 3.969 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000369/0.005767, allocations: 462.4 kB / 0.7957 GB, free: 3.492 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.58e-05/0.005812, allocations: 152.8 kB / 0.7958 GB, free: 3.336 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.232e-05/0.005875, allocations: 268.1 kB / 0.7961 GB, free: 3.066 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.132e-05/0.005926, allocations: 148.8 kB / 0.7962 GB, free: 2.914 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.758e-05/0.005984, allocations: 268.4 kB / 0.7965 GB, free: 2.645 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/0.006016, allocations: 148.8 kB / 0.7966 GB, free: 2.492 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.139e-05/0.006067, allocations: 147.8 kB / 0.7968 GB, free: 2.348 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.006067, allocations: 0.8438 kB / 0.7968 GB, free: 2.348 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000153/0.00622, allocations: 11.95 kB / 0.7968 GB, free: 2.336 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.0001053/0.006325, allocations: 215.2 kB / 0.797 GB, free: 2.117 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.804e-05/0.006394, allocations: 41.7 kB / 0.797 GB, free: 2.074 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.006396, allocations: 4 kB / 0.797 GB, free: 2.07 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.006397, allocations: 0.7188 kB / 0.797 GB, free: 2.07 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.00668, allocations: 0.7028 MB / 0.7977 GB, free: 1.363 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000227/0.006907, allocations: 284.3 kB / 0.798 GB, free: 1.059 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.259e-05/0.006939, allocations: 59.34 kB / 0.798 GB, free: 0.9805 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.641e-05/0.006966, allocations: 8.719 kB / 0.798 GB, free: 0.9688 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/0.006999, allocations: 72.23 kB / 0.7981 GB, free: 0.8984 MB / 0.7448 GB Notification: Performance of SimCode: time 7.42e-07/0.006999, allocations: 0 / 0.7981 GB, free: 0.8984 MB / 0.7448 GB Notification: Performance of Templates: time 0.00166/0.008659, allocations: 336.9 kB / 0.7984 GB, free: 0.582 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.857075567822903]