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.001444/0.001444, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001863/0.001863, allocations: 192.8 kB / 16.25 MB, free: 6.633 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.431/1.431, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.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.688/2.688, allocations: 437 MB / 0.71 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001483, allocations: 63.89 kB / 0.8687 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7217/0.7232, allocations: 151.6 MB / 1.017 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.003878/0.7271, allocations: 1.727 MB / 1.018 GB, free: 1.012 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002366/0.7295, allocations: 1.37 MB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001783/0.7298, allocations: 4 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004749/0.7303, allocations: 83.58 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000201/0.7305, allocations: 63.66 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008589/0.7314, allocations: 247.4 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002428/0.7316, allocations: 183.2 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.89e-05/0.7317, allocations: 25.47 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001223/0.7318, allocations: 83.62 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.7319, allocations: 87.61 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.732, allocations: 8 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004862/0.7325, allocations: 339.4 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.549e-05/0.7326, allocations: 71.78 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.757e-05/0.7327, allocations: 87.47 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005055/0.7332, allocations: 406.9 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.7332, allocations: 0 / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.813e-06/0.7332, allocations: 0 / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.7332, allocations: 4 kB / 1.021 GB, free: 13.96 MB / 0.7794 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.0008477/0.7341, allocations: 0.549 MB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.7341, allocations: 8.031 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.028e-05/0.7342, allocations: 20.66 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003669/0.7345, allocations: 283.6 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000107/0.7347, allocations: 63.97 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.7347, allocations: 4.375 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002183/0.7349, allocations: 97.7 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.7349, allocations: 0 / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.7349, allocations: 0 / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.735, allocations: 4 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002263/0.7352, allocations: 95.94 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002537/0.7354, allocations: 253.4 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001391/0.7368, allocations: 302.3 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.737, allocations: 60.83 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000132/0.7371, allocations: 97.09 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.7372, allocations: 34.5 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.7372, allocations: 4 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.000457/0.7376, allocations: 205.3 kB / 1.023 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.7377, allocations: 55.41 kB / 1.023 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002706/0.738, allocations: 307.1 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.738, allocations: 29.64 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.679e-05/0.7381, allocations: 128.5 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.7381, allocations: 19.7 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.142e-05/0.7382, allocations: 61.69 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.7383, allocations: 326.8 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002123/0.7385, allocations: 155.9 kB / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.7387, allocations: 159.9 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003822/0.7391, allocations: 293.4 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.7391, allocations: 0 / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005689/0.7397, allocations: 408.7 kB / 1.025 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.7397, allocations: 4 kB / 1.025 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.7398, allocations: 4 kB / 1.025 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.7398, allocations: 0 / 1.025 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.418e-05/0.7399, allocations: 15.98 kB / 1.025 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.7399, allocations: 0 / 1.025 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.74, allocations: 35.53 kB / 1.025 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.74, allocations: 4 kB / 1.025 GB, free: 9.699 MB / 0.7794 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.0001151/0.7401, allocations: 134.3 kB / 1.025 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.7402, allocations: 23.66 kB / 1.025 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003551/0.7405, allocations: 171.8 kB / 1.026 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.7406, allocations: 4 kB / 1.026 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.7406, allocations: 0 / 1.026 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.7406, allocations: 0 / 1.026 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.7408, allocations: 249.5 kB / 1.026 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.7408, allocations: 0 / 1.026 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.014e-05/0.7409, allocations: 15.92 kB / 1.026 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.7409, allocations: 4 kB / 1.026 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.7409, allocations: 0 / 1.026 GB, free: 9.043 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.7409, allocations: 3.938 kB / 1.026 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.7409, allocations: 0 / 1.026 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003136/0.7412, allocations: 188.7 kB / 1.026 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.204e-05/0.7413, allocations: 108.7 kB / 1.026 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.114e-05/0.7414, allocations: 4 kB / 1.026 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.608e-05/0.7415, allocations: 4 kB / 1.026 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.212e-05/0.7415, allocations: 7.969 kB / 1.026 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.7415, allocations: 4 kB / 1.026 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001649/0.7417, allocations: 205.9 kB / 1.026 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7417, allocations: 0 / 1.026 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003651/0.7421, allocations: 112 kB / 1.027 GB, free: 8.383 MB / 0.7794 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.000497/0.7426, allocations: 251 kB / 1.027 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005188/0.7431, allocations: 367.2 kB / 1.027 GB, free: 7.758 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.7431, allocations: 4 kB / 1.027 GB, free: 7.754 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.7433, allocations: 55.97 kB / 1.027 GB, free: 7.699 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.7436, allocations: 32.83 kB / 1.027 GB, free: 7.668 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006217/0.7442, allocations: 436.1 kB / 1.028 GB, free: 7.215 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.7445, allocations: 0.7435 MB / 1.028 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 9.806e-05/0.7446, allocations: 17.06 kB / 1.028 GB, free: 6.43 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.156e-05/0.7446, allocations: 19.44 kB / 1.028 GB, free: 6.41 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.7447, allocations: 0 / 1.028 GB, free: 6.41 MB / 0.7794 GB Notification: Performance of Templates: time 0.006484/0.7512, allocations: 3.092 MB / 1.031 GB, free: 3.355 MB / 0.7794 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/jenkins/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