Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 105.9 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 225.6 MB / 249.9 MB, free: 13.48 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.926/2.926, allocations: 489.7 MB / 0.7761 GB, free: 33.46 MB / 0.6231 GB [Timeout remaining time 87] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=508,variableFilter="time|T|TMonotone|errMonotone|errNonMonotone",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u") translateModel(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=508,variableFilter="time|T|TMonotone|errMonotone|errNonMonotone",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 66.81 kB / 1.127 GB, free: 36.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2807, allocations: 172.1 MB / 1.295 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002839/0.2836, allocations: 1.681 MB / 1.296 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002077/0.2856, allocations: 1.375 MB / 1.298 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.867e-05/0.2857, allocations: 4 kB / 1.298 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003446/0.2861, allocations: 83.52 kB / 1.298 GB, free: 8.629 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000133/0.2862, allocations: 71.58 kB / 1.298 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006723/0.2869, allocations: 279.2 kB / 1.298 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002204/0.2871, allocations: 191.1 kB / 1.298 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.065e-05/0.2871, allocations: 9.484 kB / 1.298 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.2873, allocations: 79.69 kB / 1.299 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.2874, allocations: 91.59 kB / 1.299 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.359e-05/0.2874, allocations: 4 kB / 1.299 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000553/0.288, allocations: 351.4 kB / 1.299 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.031e-05/0.2881, allocations: 63.8 kB / 1.299 GB, free: 7.508 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.83e-05/0.2882, allocations: 87.48 kB / 1.299 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000544/0.2887, allocations: 410.5 kB / 1.299 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2887, allocations: 0 / 1.299 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2887, allocations: 0 / 1.299 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.2887, allocations: 0 / 1.299 GB, free: 7.02 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000915/0.2896, allocations: 0.5641 MB / 1.3 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.2897, allocations: 12.03 kB / 1.3 GB, free: 6.395 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.85e-05/0.2897, allocations: 28.69 kB / 1.3 GB, free: 6.367 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004475/0.2902, allocations: 279.8 kB / 1.3 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/0.2903, allocations: 71.95 kB / 1.3 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.2903, allocations: 8.312 kB / 1.3 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/0.2905, allocations: 85.78 kB / 1.3 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.2905, allocations: 0 / 1.3 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.2905, allocations: 0 / 1.3 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.2906, allocations: 4 kB / 1.3 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002408/0.2908, allocations: 99.94 kB / 1.301 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002798/0.2911, allocations: 253.5 kB / 1.301 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.2925, allocations: 294.3 kB / 1.301 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.2926, allocations: 56.83 kB / 1.301 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001412/0.2927, allocations: 97.09 kB / 1.301 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/0.2928, allocations: 42.48 kB / 1.301 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.2928, allocations: 0 / 1.301 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.0005044/0.2933, allocations: 201.5 kB / 1.301 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.2933, allocations: 55.41 kB / 1.302 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003242/0.2936, allocations: 307.2 kB / 1.302 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.2937, allocations: 29.7 kB / 1.302 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.2938, allocations: 120.6 kB / 1.302 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.2938, allocations: 23.8 kB / 1.302 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.957e-05/0.2939, allocations: 65.56 kB / 1.302 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.294, allocations: 330.8 kB / 1.302 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002306/0.2943, allocations: 155.9 kB / 1.303 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/0.2945, allocations: 155.9 kB / 1.303 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004097/0.2949, allocations: 289.6 kB / 1.303 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.2949, allocations: 4 kB / 1.303 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005514/0.2955, allocations: 401.1 kB / 1.303 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.2955, allocations: 4 kB / 1.303 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.2955, allocations: 4 kB / 1.303 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.2955, allocations: 0 / 1.303 GB, free: 2.797 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.589e-05/0.2956, allocations: 19.92 kB / 1.303 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.2956, allocations: 0 / 1.303 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.2957, allocations: 43.62 kB / 1.303 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.2957, allocations: 7.984 kB / 1.303 GB, free: 2.727 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001144/0.2959, allocations: 125.8 kB / 1.304 GB, free: 2.594 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.011e-05/0.2959, allocations: 23.8 kB / 1.304 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003644/0.2962, allocations: 167.5 kB / 1.304 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.2963, allocations: 0 / 1.304 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.2963, allocations: 8.297 kB / 1.304 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.2963, allocations: 3.938 kB / 1.304 GB, free: 2.387 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002172/0.2965, allocations: 237.5 kB / 1.304 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2965, allocations: 3.938 kB / 1.304 GB, free: 2.102 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.357e-05/0.2966, allocations: 19.92 kB / 1.304 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2966, allocations: 0 / 1.304 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.2966, allocations: 4 kB / 1.304 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2966, allocations: 4 kB / 1.304 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2966, allocations: 0 / 1.304 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003404/0.2969, allocations: 180.9 kB / 1.304 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.943e-05/0.297, allocations: 112.8 kB / 1.304 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.2971, allocations: 0 / 1.304 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.663e-05/0.2971, allocations: 8 kB / 1.304 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.459e-05/0.2972, allocations: 7.922 kB / 1.304 GB, free: 1.734 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.2972, allocations: 4 kB / 1.304 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001815/0.2974, allocations: 197.9 kB / 1.304 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2974, allocations: 0 / 1.304 GB, free: 1.535 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003894/0.2978, allocations: 111.8 kB / 1.305 GB, free: 1.426 MB / 0.9981 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 (6): * Single equations (assignments): 6 * 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.0004916/0.2983, allocations: 267.3 kB / 1.305 GB, free: 1.152 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005091/0.2988, allocations: 311.1 kB / 1.305 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2988, allocations: 0 / 1.305 GB, free: 0.8359 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.2989, allocations: 67.89 kB / 1.305 GB, free: 0.7695 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.2992, allocations: 41.06 kB / 1.305 GB, free: 0.7305 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006747/0.2999, allocations: 421.4 kB / 1.306 GB, free: 288 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/0.3002, allocations: 0.7435 MB / 1.306 GB, free: 15.51 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.709e-05/0.3003, allocations: 19.44 kB / 1.306 GB, free: 15.5 MB / 1.014 GB Notification: Performance of SimCode: time 3.9e-07/0.3003, allocations: 0 / 1.306 GB, free: 15.5 MB / 1.014 GB Notification: Performance of Templates: time 0.005564/0.3058, allocations: 3.186 MB / 1.309 GB, free: 12.33 MB / 1.014 GB [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & ./Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] "" Variables in the reference:time,T,TMonotone,errMonotone,errNonMonotone Variables in the result:T,TMonotone,errMonotone,errNonMonotone,time