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.001071/0.001071, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001106/0.001106, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.367/1.367, allocations: 222.9 MB / 239.8 MB, free: 4.641 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.7/2.7, allocations: 437 MB / 0.7099 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001104/0.001104, allocations: 59.89 kB / 0.8685 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7318/0.7329, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Conduction.BaseClasses.Examples.Temperature_u): time 0.003472/0.7364, allocations: 1.735 MB / 1.018 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002679/0.7391, allocations: 1.401 MB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001911/0.7394, allocations: 7.938 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005078/0.7399, allocations: 79.64 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002313/0.7402, allocations: 63.59 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008898/0.7411, allocations: 231.4 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003286/0.7414, allocations: 251.1 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.216e-05/0.7415, allocations: 21.41 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.7417, allocations: 75.64 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.7418, allocations: 83.67 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.7419, allocations: 11.94 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006603/0.7425, allocations: 359.5 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.7427, allocations: 71.72 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.7428, allocations: 91.41 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007124/0.7435, allocations: 391 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.7435, allocations: 0 / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.162e-06/0.7435, allocations: 0 / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.7435, allocations: 0 / 1.021 GB, free: 13.94 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.001021/0.7446, allocations: 0.5607 MB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.7446, allocations: 8.031 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.66e-05/0.7447, allocations: 20.66 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004669/0.7452, allocations: 279.6 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/0.7453, allocations: 59.97 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.782e-05/0.7453, allocations: 8.375 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002287/0.7456, allocations: 93.7 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.7456, allocations: 0 / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.7456, allocations: 0 / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.7456, allocations: 4 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002521/0.7459, allocations: 95.94 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003076/0.7462, allocations: 253.4 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001464/0.7477, allocations: 294.4 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.7478, allocations: 64.77 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001542/0.748, allocations: 101.1 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.748, allocations: 42.44 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.748, allocations: 0 / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0005148/0.7485, allocations: 205.3 kB / 1.023 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.7486, allocations: 59.39 kB / 1.023 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003156/0.7489, allocations: 303 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.749, allocations: 29.7 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.678e-05/0.749, allocations: 116.6 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.072e-05/0.7491, allocations: 23.7 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.126e-05/0.7492, allocations: 57.69 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.7493, allocations: 338.8 kB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002187/0.7495, allocations: 151.9 kB / 1.024 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002144/0.7497, allocations: 155.9 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003989/0.7501, allocations: 301.3 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.7502, allocations: 0 / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006157/0.7508, allocations: 400.8 kB / 1.025 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.7508, allocations: 4 kB / 1.025 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.7508, allocations: 7.938 kB / 1.025 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.7509, allocations: 0 / 1.025 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.751, allocations: 19.98 kB / 1.025 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.751, allocations: 0 / 1.025 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.7511, allocations: 31.53 kB / 1.025 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.7511, allocations: 4 kB / 1.025 GB, free: 9.672 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.0001306/0.7513, allocations: 138.3 kB / 1.025 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.591e-05/0.7513, allocations: 23.91 kB / 1.025 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000389/0.7517, allocations: 175.5 kB / 1.026 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.7517, allocations: 0 / 1.026 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.7517, allocations: 0 / 1.026 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.7518, allocations: 0 / 1.026 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000221/0.752, allocations: 241.6 kB / 1.026 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.752, allocations: 0 / 1.026 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.622e-05/0.7521, allocations: 19.86 kB / 1.026 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.7521, allocations: 8 kB / 1.026 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.7521, allocations: 0 / 1.026 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.7521, allocations: 0 / 1.026 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7521, allocations: 3.938 kB / 1.026 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003355/0.7525, allocations: 180.8 kB / 1.026 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.7526, allocations: 112.7 kB / 1.026 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.2e-05/0.7526, allocations: 4 kB / 1.026 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.176e-05/0.7527, allocations: 8 kB / 1.026 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.656e-05/0.7528, allocations: 3.984 kB / 1.026 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.485e-06/0.7528, allocations: 4 kB / 1.026 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001959/0.753, allocations: 197.9 kB / 1.026 GB, free: 8.473 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.753, allocations: 0 / 1.026 GB, free: 8.473 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004426/0.7535, allocations: 108 kB / 1.026 GB, free: 8.367 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.0006091/0.7541, allocations: 270.9 kB / 1.027 GB, free: 8.094 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005108/0.7546, allocations: 351.3 kB / 1.027 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.7546, allocations: 0 / 1.027 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.7548, allocations: 63.91 kB / 1.027 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.7551, allocations: 44.5 kB / 1.027 GB, free: 7.633 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007055/0.7558, allocations: 432.2 kB / 1.028 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.7561, allocations: 0.736 MB / 1.028 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001036/0.7562, allocations: 21.08 kB / 1.028 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.863e-05/0.7563, allocations: 19.38 kB / 1.028 GB, free: 6.387 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.7563, allocations: 0 / 1.028 GB, free: 6.387 MB / 0.7794 GB Notification: Performance of Templates: time 0.007011/0.7633, allocations: 3.017 MB / 1.031 GB, free: 3.398 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