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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001196/0.001196, allocations: 107.9 kB / 16.36 MB, free: 5.824 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.001127/0.001127, allocations: 193 kB / 17.29 MB, free: 5.48 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.431/2.431, allocations: 437.1 MB / 0.7112 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 56.28 kB / 0.8707 GB, free: 1.488 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2832, allocations: 151.6 MB / 1.019 GB, free: 9.895 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.00295/0.2862, allocations: 1.675 MB / 1.02 GB, free: 8.207 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.00209/0.2883, allocations: 1.377 MB / 1.022 GB, free: 6.82 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.2884, allocations: 7.938 kB / 1.022 GB, free: 6.812 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0003989/0.2889, allocations: 79.58 kB / 1.022 GB, free: 6.734 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001342/0.289, allocations: 71.53 kB / 1.022 GB, free: 6.664 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007271/0.2898, allocations: 283.7 kB / 1.022 GB, free: 6.391 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002243/0.29, allocations: 183.2 kB / 1.022 GB, free: 6.211 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.458e-05/0.2901, allocations: 17.48 kB / 1.022 GB, free: 6.188 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.2902, allocations: 83.62 kB / 1.022 GB, free: 6.105 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.2903, allocations: 79.67 kB / 1.023 GB, free: 6.027 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.167e-05/0.2903, allocations: 8 kB / 1.023 GB, free: 6.02 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005273/0.2909, allocations: 335.4 kB / 1.023 GB, free: 5.691 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 9.87e-05/0.291, allocations: 75.73 kB / 1.023 GB, free: 5.617 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 8.951e-05/0.2911, allocations: 87.47 kB / 1.023 GB, free: 5.531 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004896/0.2916, allocations: 398.9 kB / 1.023 GB, free: 5.141 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.2916, allocations: 4 kB / 1.023 GB, free: 5.137 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.683e-06/0.2916, allocations: 0 / 1.023 GB, free: 5.137 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.2916, allocations: 0 / 1.023 GB, free: 5.137 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.0008441/0.2925, allocations: 0.549 MB / 1.024 GB, free: 4.539 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.2925, allocations: 12.03 kB / 1.024 GB, free: 4.527 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.975e-05/0.2926, allocations: 20.66 kB / 1.024 GB, free: 4.508 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004124/0.293, allocations: 279.6 kB / 1.024 GB, free: 4.199 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/0.2931, allocations: 67.95 kB / 1.024 GB, free: 4.121 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.2931, allocations: 12.36 kB / 1.024 GB, free: 4.109 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.2933, allocations: 89.78 kB / 1.024 GB, free: 4.016 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.2934, allocations: 0 / 1.024 GB, free: 4.016 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.2934, allocations: 0 / 1.024 GB, free: 4.016 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.2934, allocations: 4 kB / 1.024 GB, free: 4.012 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002341/0.2936, allocations: 99.92 kB / 1.024 GB, free: 3.914 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002492/0.2939, allocations: 257.3 kB / 1.025 GB, free: 3.613 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/0.2952, allocations: 294.3 kB / 1.025 GB, free: 3.316 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.2954, allocations: 56.83 kB / 1.025 GB, free: 3.258 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001512/0.2955, allocations: 105.1 kB / 1.025 GB, free: 3.137 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.2956, allocations: 38.5 kB / 1.025 GB, free: 3.09 MB / 0.795 GB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.2956, allocations: 4 kB / 1.025 GB, free: 3.086 MB / 0.795 GB Notification: Performance of matching and sorting (n=6): time 0.000489/0.2961, allocations: 209.2 kB / 1.025 GB, free: 2.875 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.2961, allocations: 55.41 kB / 1.025 GB, free: 2.809 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002626/0.2964, allocations: 303 kB / 1.026 GB, free: 2.504 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.2964, allocations: 29.7 kB / 1.026 GB, free: 2.469 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.997e-05/0.2965, allocations: 120.6 kB / 1.026 GB, free: 2.348 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.2965, allocations: 23.66 kB / 1.026 GB, free: 2.324 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.766e-05/0.2966, allocations: 57.69 kB / 1.026 GB, free: 2.262 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.2967, allocations: 334.8 kB / 1.026 GB, free: 1.926 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.2969, allocations: 155.9 kB / 1.026 GB, free: 1.773 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002541/0.2972, allocations: 159.9 kB / 1.027 GB, free: 1.617 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003841/0.2976, allocations: 293.4 kB / 1.027 GB, free: 1.328 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2976, allocations: 0 / 1.027 GB, free: 1.328 MB / 0.795 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005334/0.2982, allocations: 404.7 kB / 1.027 GB, free: 0.9258 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.2982, allocations: 4 kB / 1.027 GB, free: 0.9219 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/0.2982, allocations: 7.984 kB / 1.027 GB, free: 0.9141 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.2982, allocations: 0 / 1.027 GB, free: 0.9141 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.637e-05/0.2983, allocations: 16 kB / 1.027 GB, free: 0.8984 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.2983, allocations: 0 / 1.027 GB, free: 0.8984 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.2984, allocations: 35.52 kB / 1.027 GB, free: 0.8633 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.2985, allocations: 4 kB / 1.027 GB, free: 0.8594 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.0001141/0.2986, allocations: 126.5 kB / 1.027 GB, free: 0.7266 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.715e-05/0.2986, allocations: 23.66 kB / 1.027 GB, free: 0.7031 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003703/0.299, allocations: 171.4 kB / 1.028 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.299, allocations: 0 / 1.028 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.299, allocations: 0 / 1.028 GB, free: 0.5234 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.299, allocations: 3.984 kB / 1.028 GB, free: 0.5195 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/0.2992, allocations: 233.6 kB / 1.028 GB, free: 248 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.2992, allocations: 4.297 kB / 1.028 GB, free: 244 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.013e-05/0.2993, allocations: 15.94 kB / 1.028 GB, free: 228 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2993, allocations: 4 kB / 1.028 GB, free: 224 kB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.2993, allocations: 4 kB / 1.028 GB, free: 220 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2994, allocations: 0 / 1.028 GB, free: 220 kB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2994, allocations: 0 / 1.028 GB, free: 220 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003082/0.2997, allocations: 184.7 kB / 1.028 GB, free: 16 kB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 9.957e-05/0.2998, allocations: 108.8 kB / 1.028 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/0.2998, allocations: 4 kB / 1.028 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.912e-05/0.2999, allocations: 7.984 kB / 1.028 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.952e-05/0.3, allocations: 4 kB / 1.028 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.3, allocations: 7.938 kB / 1.028 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001669/0.3001, allocations: 201.9 kB / 1.028 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3002, allocations: 0 / 1.028 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003952/0.3005, allocations: 111.9 kB / 1.028 GB, free: 15.56 MB / 0.8106 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.0004678/0.301, allocations: 267 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005126/0.3015, allocations: 359.2 kB / 1.029 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.3016, allocations: 4 kB / 1.029 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.3017, allocations: 55.97 kB / 1.029 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000283/0.302, allocations: 32.83 kB / 1.029 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006474/0.3027, allocations: 396.1 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.303, allocations: 0.7357 MB / 1.03 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.928e-05/0.3031, allocations: 25.36 kB / 1.03 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.779e-05/0.3031, allocations: 15.44 kB / 1.03 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of SimCode: time 4.1e-07/0.3031, allocations: 0 / 1.03 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of Templates: time 0.006412/0.3095, allocations: 3.139 MB / 1.033 GB, free: 10.52 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 -s gbode -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) Reference file matches