Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSoi.1..T|TSoi.2..T|TSoi.3..T|TSoi.4..T",fileNamePrefix="Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 102.6 kB / 16.37 MB, free: 6.465 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.001583/0.001584, allocations: 195.4 kB / 17.31 MB, free: 5.82 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.399/1.399, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.286/2.286, allocations: 390.3 MB / 0.6655 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001374, allocations: 64.41 kB / 0.814 GB, free: 32.84 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2597, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002731/0.2625, allocations: 1.585 MB / 0.9527 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001362/0.2638, allocations: 0.915 MB / 0.9536 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.975e-05/0.264, allocations: 7.938 kB / 0.9536 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002586/0.2642, allocations: 63.64 kB / 0.9536 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004255/0.2647, allocations: 151.3 kB / 0.9538 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 3.302e-05/0.2647, allocations: 7.984 kB / 0.9538 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003958/0.2651, allocations: 358.3 kB / 0.9541 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.548e-05/0.2652, allocations: 44.73 kB / 0.9542 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001931/0.2654, allocations: 147.4 kB / 0.9543 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001961/0.2656, allocations: 147.3 kB / 0.9544 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.064e-05/0.2657, allocations: 16 kB / 0.9545 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003071/0.2687, allocations: 0.563 MB / 0.955 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.359e-05/0.2688, allocations: 51.77 kB / 0.9551 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001623/0.269, allocations: 135.2 kB / 0.9552 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01458/0.2836, allocations: 13.23 MB / 0.9681 GB, free: 6.594 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2836, allocations: 0 / 0.9681 GB, free: 6.594 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.156e-06/0.2836, allocations: 3.938 kB / 0.9681 GB, free: 6.59 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.2837, allocations: 3.938 kB / 0.9681 GB, free: 6.586 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.001388/0.285, allocations: 0.6498 MB / 0.9687 GB, free: 5.887 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.2851, allocations: 8.031 kB / 0.9688 GB, free: 5.879 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.674e-05/0.2852, allocations: 28.56 kB / 0.9688 GB, free: 5.852 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004923/0.2857, allocations: 378.3 kB / 0.9691 GB, free: 5.441 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.2857, allocations: 4.375 kB / 0.9691 GB, free: 5.438 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.2857, allocations: 4.375 kB / 0.9692 GB, free: 5.434 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000153/0.2859, allocations: 101.4 kB / 0.9692 GB, free: 5.316 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.2859, allocations: 3.938 kB / 0.9693 GB, free: 5.312 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.2859, allocations: 0 / 0.9693 GB, free: 5.312 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.2859, allocations: 4 kB / 0.9693 GB, free: 5.309 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.735e-05/0.286, allocations: 71.86 kB / 0.9693 GB, free: 5.238 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003476/0.2864, allocations: 340 kB / 0.9696 GB, free: 4.848 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.2865, allocations: 110.4 kB / 0.9698 GB, free: 4.703 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.468e-05/0.2866, allocations: 59.45 kB / 0.9698 GB, free: 4.633 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.2866, allocations: 7.984 kB / 0.9698 GB, free: 4.625 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.982e-05/0.2867, allocations: 46.44 kB / 0.9699 GB, free: 4.57 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.2867, allocations: 0 / 0.9699 GB, free: 4.57 MB / 0.7481 GB Notification: Performance of matching and sorting (n=4): time 0.0003398/0.287, allocations: 181.1 kB / 0.97 GB, free: 4.387 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.404e-05/0.2871, allocations: 132.5 kB / 0.9702 GB, free: 4.227 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005545/0.2877, allocations: 0.5092 MB / 0.9707 GB, free: 3.711 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.2877, allocations: 25.7 kB / 0.9707 GB, free: 3.68 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001159/0.2878, allocations: 156.4 kB / 0.9708 GB, free: 3.52 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.2878, allocations: 15.73 kB / 0.9708 GB, free: 3.504 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.979e-05/0.2879, allocations: 46.2 kB / 0.9709 GB, free: 3.453 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.288, allocations: 350.8 kB / 0.9712 GB, free: 3.102 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.2882, allocations: 95.92 kB / 0.9713 GB, free: 3.008 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.2884, allocations: 156.8 kB / 0.9715 GB, free: 2.832 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002894/0.2887, allocations: 243.2 kB / 0.9717 GB, free: 2.582 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2887, allocations: 0 / 0.9717 GB, free: 2.582 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003801/0.2891, allocations: 293.1 kB / 0.972 GB, free: 2.289 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.2891, allocations: 11.88 kB / 0.972 GB, free: 2.277 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.2891, allocations: 4 kB / 0.972 GB, free: 2.273 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.2891, allocations: 0 / 0.972 GB, free: 2.273 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.2892, allocations: 15.98 kB / 0.972 GB, free: 2.258 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.2893, allocations: 4 kB / 0.972 GB, free: 2.254 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.2894, allocations: 23.83 kB / 0.972 GB, free: 2.23 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.2895, allocations: 4 kB / 0.972 GB, free: 2.227 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001634/0.2896, allocations: 181.7 kB / 0.9722 GB, free: 2.039 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.796e-05/0.2897, allocations: 39.47 kB / 0.9722 GB, free: 2 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003333/0.29, allocations: 180 kB / 0.9724 GB, free: 1.816 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.29, allocations: 7.938 kB / 0.9724 GB, free: 1.809 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.29, allocations: 4 kB / 0.9724 GB, free: 1.805 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.2901, allocations: 3.984 kB / 0.9724 GB, free: 1.801 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002555/0.2903, allocations: 297.5 kB / 0.9727 GB, free: 1.461 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2903, allocations: 0 / 0.9727 GB, free: 1.461 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.674e-05/0.2904, allocations: 15.94 kB / 0.9727 GB, free: 1.445 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.2904, allocations: 7.938 kB / 0.9727 GB, free: 1.438 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.2905, allocations: 0 / 0.9727 GB, free: 1.438 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.2905, allocations: 4 kB / 0.9727 GB, free: 1.434 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.2905, allocations: 3.984 kB / 0.9727 GB, free: 1.43 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.2907, allocations: 187.2 kB / 0.9729 GB, free: 1.219 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.2909, allocations: 136.6 kB / 0.9731 GB, free: 1.066 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.616e-05/0.2909, allocations: 7.906 kB / 0.9731 GB, free: 1.059 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001425/0.2911, allocations: 11.98 kB / 0.9731 GB, free: 1.047 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.669e-05/0.2911, allocations: 7.984 kB / 0.9731 GB, free: 1.039 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.2911, allocations: 0 / 0.9731 GB, free: 1.039 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004167/0.2915, allocations: 383 kB / 0.9735 GB, free: 0.6641 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2915, allocations: 4 kB / 0.9735 GB, free: 0.6602 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004613/0.292, allocations: 96 kB / 0.9735 GB, free: 0.5664 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 8 * 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.004449/0.2965, allocations: 2.807 MB / 0.9763 GB, free: 13.74 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0003662/0.2968, allocations: 175.8 kB / 0.9765 GB, free: 13.57 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.2969, allocations: 0 / 0.9765 GB, free: 13.57 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 6.575e-05/0.2969, allocations: 43.97 kB / 0.9765 GB, free: 13.52 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004024/0.2973, allocations: 75.27 kB / 0.9766 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009023/0.2982, allocations: 0.5842 MB / 0.9771 GB, free: 12.84 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.2985, allocations: 0.8141 MB / 0.9779 GB, free: 12 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0001153/0.2987, allocations: 50.28 kB / 0.978 GB, free: 11.95 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.462e-05/0.2987, allocations: 23.44 kB / 0.978 GB, free: 11.93 MB / 0.7637 GB Notification: Performance of SimCode: time 3.91e-07/0.2987, allocations: 0 / 0.978 GB, free: 11.93 MB / 0.7637 GB Notification: Performance of Templates: time 0.01162/0.3104, allocations: 7.564 MB / 0.9854 GB, free: 4.391 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.sim & ./Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedNFactors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches