Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.005565/0.005565, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001315/0.001315, allocations: 201.9 kB / 16.68 MB, free: 5.969 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.413/2.413, allocations: 390.2 MB / 0.6648 GB, free: 248 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001279, allocations: 62.98 kB / 0.9508 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3298, allocations: 140.4 MB / 1.088 GB, free: 1.527 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.003371/0.3332, allocations: 1.667 MB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002476/0.3357, allocations: 1.357 MB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002092/0.3359, allocations: 7.938 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004875/0.3365, allocations: 79.58 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002247/0.3367, allocations: 75.52 kB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000963/0.3377, allocations: 280.5 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003008/0.338, allocations: 191.2 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.861e-05/0.3381, allocations: 9.484 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/0.3382, allocations: 91.56 kB / 1.092 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.3384, allocations: 75.69 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.3384, allocations: 4 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006555/0.3391, allocations: 347.4 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.3392, allocations: 67.73 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001395/0.3394, allocations: 99.41 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007723/0.3402, allocations: 394.6 kB / 1.093 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3402, allocations: 0 / 1.093 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3402, allocations: 0 / 1.093 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.679e-06/0.3402, allocations: 0 / 1.093 GB, free: 12.79 MB / 0.8575 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.001141/0.3413, allocations: 0.5641 MB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.3414, allocations: 8.031 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.135e-05/0.3415, allocations: 28.78 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006096/0.3421, allocations: 287.7 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001296/0.3423, allocations: 67.94 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.3423, allocations: 4.375 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/0.3425, allocations: 89.78 kB / 1.094 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3425, allocations: 0 / 1.094 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.682e-05/0.3426, allocations: 4 kB / 1.094 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.3426, allocations: 4 kB / 1.094 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002636/0.3428, allocations: 99.92 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003071/0.3432, allocations: 249.5 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.3446, allocations: 298.3 kB / 1.094 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/0.3447, allocations: 60.83 kB / 1.094 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001449/0.3449, allocations: 101.1 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.3449, allocations: 38.5 kB / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 4.768e-06/0.3449, allocations: 0 / 1.094 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0004939/0.3454, allocations: 217.3 kB / 1.095 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/0.3455, allocations: 51.41 kB / 1.095 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002979/0.3458, allocations: 299.2 kB / 1.095 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.3458, allocations: 29.7 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.021e-05/0.3459, allocations: 124.6 kB / 1.095 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.547e-05/0.3459, allocations: 23.8 kB / 1.095 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.349e-05/0.346, allocations: 57.69 kB / 1.095 GB, free: 9.883 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.3461, allocations: 338.8 kB / 1.095 GB, free: 9.543 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002329/0.3464, allocations: 151.9 kB / 1.096 GB, free: 9.395 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002074/0.3466, allocations: 151.9 kB / 1.096 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004199/0.347, allocations: 297.6 kB / 1.096 GB, free: 8.953 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.347, allocations: 0 / 1.096 GB, free: 8.953 MB / 0.8575 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005456/0.3476, allocations: 404.9 kB / 1.096 GB, free: 8.551 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.3476, allocations: 6.031 kB / 1.096 GB, free: 8.547 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.3476, allocations: 3.938 kB / 1.096 GB, free: 8.543 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.3477, allocations: 8 kB / 1.096 GB, free: 8.535 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.3478, allocations: 15.98 kB / 1.096 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.3478, allocations: 0 / 1.096 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.3479, allocations: 35.66 kB / 1.096 GB, free: 8.484 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.3479, allocations: 0 / 1.096 GB, free: 8.484 MB / 0.8575 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.000117/0.3481, allocations: 129.8 kB / 1.097 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.237e-05/0.3481, allocations: 31.75 kB / 1.097 GB, free: 8.316 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000355/0.3485, allocations: 167.4 kB / 1.097 GB, free: 8.148 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.3485, allocations: 0 / 1.097 GB, free: 8.148 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3485, allocations: 0 / 1.097 GB, free: 8.148 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3485, allocations: 0 / 1.097 GB, free: 8.148 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.3487, allocations: 233.6 kB / 1.097 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.3487, allocations: 0 / 1.097 GB, free: 7.871 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.552e-05/0.3488, allocations: 24.23 kB / 1.097 GB, free: 7.848 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.3488, allocations: 0 / 1.097 GB, free: 7.848 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.3488, allocations: 8 kB / 1.097 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.3488, allocations: 0 / 1.097 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3489, allocations: 0 / 1.097 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003468/0.3492, allocations: 188.8 kB / 1.097 GB, free: 7.637 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.614e-05/0.3493, allocations: 108.9 kB / 1.097 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.61e-05/0.3494, allocations: 4 kB / 1.097 GB, free: 7.508 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.987e-05/0.3494, allocations: 11.92 kB / 1.097 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.056e-05/0.3495, allocations: 4 kB / 1.097 GB, free: 7.492 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-06/0.3495, allocations: 4 kB / 1.097 GB, free: 7.488 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001992/0.3497, allocations: 193.9 kB / 1.098 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3497, allocations: 0 / 1.098 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004663/0.3502, allocations: 119.7 kB / 1.098 GB, free: 7.184 MB / 0.8575 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.0006588/0.3509, allocations: 270.8 kB / 1.098 GB, free: 6.906 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000567/0.3514, allocations: 359 kB / 1.098 GB, free: 6.543 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.3515, allocations: 4 kB / 1.098 GB, free: 6.539 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.3516, allocations: 59.95 kB / 1.098 GB, free: 6.48 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000314/0.352, allocations: 32.77 kB / 1.098 GB, free: 6.449 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007717/0.3527, allocations: 387.9 kB / 1.099 GB, free: 6.043 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.3531, allocations: 0.7396 MB / 1.099 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001027/0.3532, allocations: 33.3 kB / 1.099 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.365e-05/0.3533, allocations: 15.44 kB / 1.099 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of SimCode: time 4.41e-07/0.3533, allocations: 0 / 1.099 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of Templates: time 0.007613/0.3609, allocations: 3.143 MB / 1.103 GB, free: 2.129 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.sim & ./Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Conduction_BaseClasses_Examples_Temperature_u.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches