Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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=5000,variableFilter="time|T|TMonotone|errMonotone|errNonMonotone",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u") translateModel(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|TMonotone|errMonotone|errNonMonotone",fileNamePrefix="Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 105.9 kB / 16.27 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 187.6 kB / 17.2 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.462/2.462, allocations: 437 MB / 0.711 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 66.66 kB / 0.8699 GB, free: 2.23 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2814/0.2829, allocations: 151.6 MB / 1.018 GB, free: 10.67 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.002828/0.2858, allocations: 1.665 MB / 1.02 GB, free: 8.992 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002056/0.2879, allocations: 1.373 MB / 1.021 GB, free: 7.609 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.288, allocations: 4 kB / 1.021 GB, free: 7.605 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.000397/0.2885, allocations: 83.58 kB / 1.021 GB, free: 7.523 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.000236/0.2887, allocations: 71.52 kB / 1.021 GB, free: 7.453 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.2898, allocations: 285.5 kB / 1.021 GB, free: 7.176 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003123/0.2901, allocations: 179.2 kB / 1.022 GB, free: 7 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 6.819e-05/0.2902, allocations: 17.47 kB / 1.022 GB, free: 6.977 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.2904, allocations: 79.69 kB / 1.022 GB, free: 6.898 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.2906, allocations: 87.61 kB / 1.022 GB, free: 6.812 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.729e-05/0.2906, allocations: 8 kB / 1.022 GB, free: 6.805 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000665/0.2913, allocations: 339.4 kB / 1.022 GB, free: 6.473 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 9.911e-05/0.2914, allocations: 67.8 kB / 1.022 GB, free: 6.406 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.2915, allocations: 87.47 kB / 1.022 GB, free: 6.32 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0006042/0.2921, allocations: 398.8 kB / 1.023 GB, free: 5.93 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2921, allocations: 0 / 1.023 GB, free: 5.93 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2921, allocations: 0 / 1.023 GB, free: 5.93 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.2921, allocations: 0 / 1.023 GB, free: 5.93 MB / 0.795 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.0008843/0.293, allocations: 0.553 MB / 1.023 GB, free: 5.328 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.2931, allocations: 12.02 kB / 1.023 GB, free: 5.316 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.018e-05/0.2931, allocations: 20.66 kB / 1.023 GB, free: 5.297 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003707/0.2935, allocations: 275.7 kB / 1.023 GB, free: 4.992 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/0.2936, allocations: 59.97 kB / 1.023 GB, free: 4.922 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.2937, allocations: 8.375 kB / 1.023 GB, free: 4.914 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002187/0.2939, allocations: 93.7 kB / 1.024 GB, free: 4.816 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.2939, allocations: 0 / 1.024 GB, free: 4.816 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.2939, allocations: 7.984 kB / 1.024 GB, free: 4.809 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.2939, allocations: 4 kB / 1.024 GB, free: 4.805 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002423/0.2942, allocations: 91.94 kB / 1.024 GB, free: 4.715 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002744/0.2945, allocations: 265.3 kB / 1.024 GB, free: 4.406 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/0.2959, allocations: 290.4 kB / 1.024 GB, free: 4.113 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.296, allocations: 64.83 kB / 1.024 GB, free: 4.047 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000135/0.2962, allocations: 93.09 kB / 1.024 GB, free: 3.938 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.2962, allocations: 46.44 kB / 1.024 GB, free: 3.883 MB / 0.795 GB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.2962, allocations: 0 / 1.024 GB, free: 3.883 MB / 0.795 GB Notification: Performance of matching and sorting (n=6): time 0.0005102/0.2967, allocations: 217.2 kB / 1.025 GB, free: 3.664 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.2968, allocations: 55.34 kB / 1.025 GB, free: 3.598 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/0.2971, allocations: 299.1 kB / 1.025 GB, free: 3.297 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.2971, allocations: 25.7 kB / 1.025 GB, free: 3.266 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.248e-05/0.2972, allocations: 116.6 kB / 1.025 GB, free: 3.148 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.2972, allocations: 31.62 kB / 1.025 GB, free: 3.117 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.662e-05/0.2973, allocations: 61.69 kB / 1.025 GB, free: 3.051 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.2974, allocations: 330.8 kB / 1.025 GB, free: 2.719 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/0.2977, allocations: 155.9 kB / 1.026 GB, free: 2.566 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002118/0.2979, allocations: 155.9 kB / 1.026 GB, free: 2.414 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003903/0.2983, allocations: 293.6 kB / 1.026 GB, free: 2.125 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2983, allocations: 0 / 1.026 GB, free: 2.125 MB / 0.795 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005711/0.2989, allocations: 404.8 kB / 1.026 GB, free: 1.723 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.2989, allocations: 4 kB / 1.026 GB, free: 1.719 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.2989, allocations: 8 kB / 1.026 GB, free: 1.711 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.2989, allocations: 0 / 1.026 GB, free: 1.711 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.299, allocations: 15.98 kB / 1.026 GB, free: 1.695 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.2991, allocations: 0 / 1.026 GB, free: 1.695 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.2992, allocations: 31.53 kB / 1.026 GB, free: 1.664 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.2992, allocations: 4 kB / 1.026 GB, free: 1.66 MB / 0.795 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.0001143/0.2993, allocations: 133.8 kB / 1.027 GB, free: 1.52 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.334e-05/0.2994, allocations: 27.66 kB / 1.027 GB, free: 1.492 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000391/0.2998, allocations: 167.4 kB / 1.027 GB, free: 1.32 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.2998, allocations: 0 / 1.027 GB, free: 1.32 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2998, allocations: 0 / 1.027 GB, free: 1.32 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.83e-06/0.2998, allocations: 4 kB / 1.027 GB, free: 1.316 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/0.3, allocations: 233.6 kB / 1.027 GB, free: 1.039 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3, allocations: 4 kB / 1.027 GB, free: 1.035 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.3001, allocations: 23.86 kB / 1.027 GB, free: 1.012 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.3001, allocations: 0 / 1.027 GB, free: 1.012 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.3002, allocations: 0 / 1.027 GB, free: 1.012 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3002, allocations: 160 / 1.027 GB, free: 1.012 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3002, allocations: 0 / 1.027 GB, free: 1.012 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003328/0.3005, allocations: 185.1 kB / 1.027 GB, free: 0.8125 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.897e-05/0.3006, allocations: 108.8 kB / 1.027 GB, free: 0.6875 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.415e-05/0.3006, allocations: 4 kB / 1.027 GB, free: 0.6836 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.043e-05/0.3007, allocations: 4 kB / 1.027 GB, free: 0.6797 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.53e-05/0.3008, allocations: 11.92 kB / 1.027 GB, free: 0.668 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.707e-06/0.3008, allocations: 4 kB / 1.027 GB, free: 0.6641 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000177/0.301, allocations: 197.9 kB / 1.028 GB, free: 488 kB / 0.795 GB Notification: Performance of sort global known variables: time 2.31e-07/0.301, allocations: 4 kB / 1.028 GB, free: 484 kB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004267/0.3014, allocations: 111.9 kB / 1.028 GB, free: 372 kB / 0.795 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.0005105/0.302, allocations: 266.9 kB / 1.028 GB, free: 96 kB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0005471/0.3025, allocations: 367.3 kB / 1.028 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3025, allocations: 0 / 1.028 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001377/0.3027, allocations: 55.91 kB / 1.028 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.303, allocations: 36.62 kB / 1.028 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006524/0.3036, allocations: 421.9 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.3039, allocations: 0.7357 MB / 1.029 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.742e-05/0.304, allocations: 19.44 kB / 1.029 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of SimCode: time 3.91e-07/0.304, allocations: 4 kB / 1.029 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of Templates: time 0.005709/0.3097, allocations: 3.162 MB / 1.033 GB, free: 11.26 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & ./Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,T,TMonotone,errMonotone,errNonMonotone Variables in the result:T,TMonotone,errMonotone,errNonMonotone,time