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.001644/0.001645, allocations: 106.5 kB / 16.35 MB, free: 5.875 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.001955/0.001955, allocations: 197.5 kB / 17.3 MB, free: 5.516 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.299/1.299, allocations: 222.9 MB / 241 MB, free: 14.99 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.184/2.184, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 65.06 kB / 0.814 GB, free: 32.5 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2475, allocations: 140.4 MB / 0.9511 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedNFactors): time 0.002687/0.2502, allocations: 1.584 MB / 0.9527 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001306/0.2515, allocations: 0.9228 MB / 0.9536 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.743e-05/0.2516, allocations: 0 / 0.9536 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000237/0.2518, allocations: 67.64 kB / 0.9536 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004152/0.2523, allocations: 159.2 kB / 0.9538 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 2.957e-05/0.2523, allocations: 0 / 0.9538 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003691/0.2527, allocations: 362.3 kB / 0.9541 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.102e-05/0.2528, allocations: 44.75 kB / 0.9542 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.253, allocations: 139.4 kB / 0.9543 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001823/0.2532, allocations: 135.4 kB / 0.9544 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.003e-05/0.2532, allocations: 16 kB / 0.9544 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003163/0.2564, allocations: 0.5707 MB / 0.955 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.515e-05/0.2565, allocations: 51.78 kB / 0.955 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.2566, allocations: 139.1 kB / 0.9552 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0146/0.2712, allocations: 13.23 MB / 0.9681 GB, free: 6.641 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.2713, allocations: 3.938 kB / 0.9681 GB, free: 6.637 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.295e-06/0.2713, allocations: 0 / 0.9681 GB, free: 6.637 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.2713, allocations: 0 / 0.9681 GB, free: 6.637 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.00137/0.2727, allocations: 0.6508 MB / 0.9687 GB, free: 5.938 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.2727, allocations: 8.031 kB / 0.9687 GB, free: 5.93 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.127e-05/0.2728, allocations: 32.56 kB / 0.9688 GB, free: 5.898 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005119/0.2733, allocations: 378.2 kB / 0.9691 GB, free: 5.488 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.2733, allocations: 4.375 kB / 0.9691 GB, free: 5.484 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.2734, allocations: 8.375 kB / 0.9691 GB, free: 5.477 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.2735, allocations: 97.39 kB / 0.9692 GB, free: 5.363 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.2735, allocations: 3.984 kB / 0.9692 GB, free: 5.359 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.2735, allocations: 4 kB / 0.9692 GB, free: 5.355 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2736, allocations: 0 / 0.9692 GB, free: 5.355 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.764e-05/0.2737, allocations: 67.86 kB / 0.9693 GB, free: 5.289 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003582/0.274, allocations: 348.1 kB / 0.9696 GB, free: 4.891 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.2742, allocations: 102.3 kB / 0.9697 GB, free: 4.754 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.846e-05/0.2742, allocations: 67.45 kB / 0.9698 GB, free: 4.676 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.2743, allocations: 0 / 0.9698 GB, free: 4.676 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.2743, allocations: 42.5 kB / 0.9698 GB, free: 4.625 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.2743, allocations: 0 / 0.9698 GB, free: 4.625 MB / 0.7481 GB Notification: Performance of matching and sorting (n=4): time 0.0003266/0.2746, allocations: 185.5 kB / 0.97 GB, free: 4.438 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.367e-05/0.2747, allocations: 140.5 kB / 0.9702 GB, free: 4.27 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005766/0.2753, allocations: 0.5052 MB / 0.9707 GB, free: 3.758 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.2753, allocations: 29.7 kB / 0.9707 GB, free: 3.723 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.2754, allocations: 160.4 kB / 0.9708 GB, free: 3.559 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.2755, allocations: 15.75 kB / 0.9708 GB, free: 3.543 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.106e-05/0.2755, allocations: 49.69 kB / 0.9709 GB, free: 3.488 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.2757, allocations: 338.8 kB / 0.9712 GB, free: 3.148 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.2758, allocations: 103.9 kB / 0.9713 GB, free: 3.047 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001668/0.276, allocations: 158.8 kB / 0.9715 GB, free: 2.867 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002854/0.2763, allocations: 231.2 kB / 0.9717 GB, free: 2.629 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.2763, allocations: 0 / 0.9717 GB, free: 2.629 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004071/0.2767, allocations: 293.1 kB / 0.972 GB, free: 2.336 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.2767, allocations: 15.94 kB / 0.972 GB, free: 2.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.2767, allocations: 0 / 0.972 GB, free: 2.32 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.2768, allocations: 0 / 0.972 GB, free: 2.32 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.2769, allocations: 19.92 kB / 0.972 GB, free: 2.301 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.094e-05/0.2769, allocations: 4 kB / 0.972 GB, free: 2.297 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.2771, allocations: 23.83 kB / 0.972 GB, free: 2.273 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.2772, allocations: 11.97 kB / 0.972 GB, free: 2.262 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.000179/0.2773, allocations: 173.8 kB / 0.9722 GB, free: 2.082 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.233e-05/0.2774, allocations: 35.47 kB / 0.9722 GB, free: 2.047 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003387/0.2778, allocations: 187.7 kB / 0.9724 GB, free: 1.855 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.2778, allocations: 4 kB / 0.9724 GB, free: 1.852 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.2778, allocations: 0 / 0.9724 GB, free: 1.852 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.2778, allocations: 4 kB / 0.9724 GB, free: 1.848 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002673/0.2781, allocations: 289.4 kB / 0.9727 GB, free: 1.516 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.2781, allocations: 4 kB / 0.9727 GB, free: 1.512 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.873e-05/0.2782, allocations: 19.92 kB / 0.9727 GB, free: 1.492 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.2782, allocations: 8.062 kB / 0.9727 GB, free: 1.484 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.2782, allocations: 4 kB / 0.9727 GB, free: 1.48 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.189e-06/0.2782, allocations: 4 kB / 0.9727 GB, free: 1.477 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.2782, allocations: 7.938 kB / 0.9727 GB, free: 1.469 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/0.2785, allocations: 183.3 kB / 0.9729 GB, free: 1.262 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001689/0.2786, allocations: 140.6 kB / 0.9731 GB, free: 1.105 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.632e-05/0.2787, allocations: 7.906 kB / 0.9731 GB, free: 1.098 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.2788, allocations: 7.984 kB / 0.9731 GB, free: 1.09 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.301e-05/0.2789, allocations: 8.172 kB / 0.9731 GB, free: 1.082 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.2789, allocations: 4 kB / 0.9731 GB, free: 1.078 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004163/0.2793, allocations: 379 kB / 0.9734 GB, free: 0.707 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2793, allocations: 0 / 0.9734 GB, free: 0.707 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004315/0.2797, allocations: 99.98 kB / 0.9735 GB, free: 0.6094 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.004351/0.2841, allocations: 2.807 MB / 0.9763 GB, free: 13.78 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0003736/0.2845, allocations: 171.7 kB / 0.9764 GB, free: 13.62 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2845, allocations: 0 / 0.9764 GB, free: 13.62 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 7.54e-05/0.2846, allocations: 55.89 kB / 0.9765 GB, free: 13.56 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003954/0.285, allocations: 57.41 kB / 0.9766 GB, free: 13.51 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.286, allocations: 0.5806 MB / 0.9771 GB, free: 12.89 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004756/0.2865, allocations: 0.8181 MB / 0.9779 GB, free: 12.05 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0001256/0.2867, allocations: 45.92 kB / 0.978 GB, free: 12 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.886e-05/0.2867, allocations: 27.42 kB / 0.978 GB, free: 11.98 MB / 0.7637 GB Notification: Performance of SimCode: time 2.3e-07/0.2867, allocations: 0 / 0.978 GB, free: 11.98 MB / 0.7637 GB Notification: Performance of Templates: time 0.01178/0.2985, allocations: 7.569 MB / 0.9854 GB, free: 4.441 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 gbode -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