Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.CorrectedConvection,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.CorrectedConvection") translateModel(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection,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.CorrectedConvection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001382, allocations: 102.2 kB / 16.27 MB, free: 6 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.00142/0.001419, allocations: 193.3 kB / 17.2 MB, free: 5.609 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.344/1.344, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.19/2.19, allocations: 390.3 MB / 0.6653 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 65.83 kB / 0.8132 GB, free: 32.96 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2569, allocations: 140.4 MB / 0.9503 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection): time 0.002796/0.2597, allocations: 1.581 MB / 0.9518 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001414/0.2612, allocations: 0.9267 MB / 0.9527 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.949e-05/0.2613, allocations: 0 / 0.9527 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002457/0.2615, allocations: 63.66 kB / 0.9528 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004735/0.262, allocations: 151.3 kB / 0.9529 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 3.781e-05/0.2621, allocations: 11.92 kB / 0.9529 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004376/0.2625, allocations: 370.3 kB / 0.9533 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.979e-05/0.2626, allocations: 44.73 kB / 0.9533 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002272/0.2629, allocations: 139.4 kB / 0.9535 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002121/0.2631, allocations: 139.3 kB / 0.9536 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.536e-05/0.2631, allocations: 16 kB / 0.9536 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.135e-05/0.2632, allocations: 16 kB / 0.9536 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.642e-05/0.2633, allocations: 47.72 kB / 0.9537 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001648/0.2635, allocations: 131.2 kB / 0.9538 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002775/0.2637, allocations: 283.2 kB / 0.9541 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.2637, allocations: 0 / 0.9541 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2638, allocations: 0 / 0.9541 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.345e-06/0.2638, allocations: 0 / 0.9541 GB, free: 4.945 MB / 0.7325 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.001138/0.2649, allocations: 0.6224 MB / 0.9547 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.265, allocations: 16.02 kB / 0.9547 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.454e-05/0.265, allocations: 28.56 kB / 0.9547 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000491/0.2655, allocations: 386.2 kB / 0.9551 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.346e-06/0.2655, allocations: 384 / 0.9551 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.2656, allocations: 8.375 kB / 0.9551 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.2657, allocations: 101.4 kB / 0.9552 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.2657, allocations: 0 / 0.9552 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.2658, allocations: 0 / 0.9552 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.2658, allocations: 0 / 0.9552 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.2659, allocations: 71.81 kB / 0.9553 GB, free: 3.617 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003931/0.2663, allocations: 360.1 kB / 0.9556 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.2664, allocations: 106.3 kB / 0.9557 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.091e-05/0.2665, allocations: 71.45 kB / 0.9558 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.2665, allocations: 0 / 0.9558 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.2665, allocations: 34.5 kB / 0.9558 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 9.578e-06/0.2666, allocations: 0 / 0.9558 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0003253/0.2669, allocations: 185.5 kB / 0.956 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.04e-05/0.267, allocations: 144.5 kB / 0.9561 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005687/0.2675, allocations: 0.5132 MB / 0.9566 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.2676, allocations: 25.7 kB / 0.9566 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.2677, allocations: 164.1 kB / 0.9568 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.2677, allocations: 7.812 kB / 0.9568 GB, free: 1.859 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.356e-05/0.2678, allocations: 25.7 kB / 0.9568 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.2679, allocations: 338.8 kB / 0.9571 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.654e-05/0.268, allocations: 43.89 kB / 0.9572 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.322e-05/0.268, allocations: 55.41 kB / 0.9572 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.2682, allocations: 103.3 kB / 0.9573 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2682, allocations: 0 / 0.9573 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000201/0.2684, allocations: 149.2 kB / 0.9575 GB, free: 1.113 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.2684, allocations: 7.938 kB / 0.9575 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2684, allocations: 0 / 0.9575 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.2684, allocations: 4 kB / 0.9575 GB, free: 1.102 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.2686, allocations: 15.92 kB / 0.9575 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.82e-06/0.2686, allocations: 0 / 0.9575 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.2687, allocations: 11.97 kB / 0.9575 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.2687, allocations: 4 kB / 0.9575 GB, free: 1.07 MB / 0.7325 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 (4): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 0.0001344/0.2689, allocations: 177.9 kB / 0.9577 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.938e-05/0.2689, allocations: 43.45 kB / 0.9577 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003009/0.2692, allocations: 179.8 kB / 0.9579 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.2693, allocations: 7.984 kB / 0.9579 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2693, allocations: 0 / 0.9579 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2693, allocations: 4.125 kB / 0.9579 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.2696, allocations: 313.4 kB / 0.9582 GB, free: 300 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.2696, allocations: 0 / 0.9582 GB, free: 300 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.755e-05/0.2697, allocations: 19.92 kB / 0.9582 GB, free: 280 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.289e-06/0.2697, allocations: 3.938 kB / 0.9582 GB, free: 276 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.2697, allocations: 4 kB / 0.9582 GB, free: 272 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.165e-06/0.2697, allocations: 4 kB / 0.9582 GB, free: 268 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2697, allocations: 0 / 0.9582 GB, free: 268 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002263/0.2699, allocations: 195.2 kB / 0.9584 GB, free: 44 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001545/0.2701, allocations: 144.5 kB / 0.9586 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.826e-05/0.2701, allocations: 7.938 kB / 0.9586 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.2703, allocations: 7.984 kB / 0.9586 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.267e-05/0.2703, allocations: 4 kB / 0.9586 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-06/0.2703, allocations: 7.984 kB / 0.9586 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004234/0.2708, allocations: 395 kB / 0.959 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2708, allocations: 0 / 0.959 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002521/0.271, allocations: 40 kB / 0.959 GB, free: 15.43 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 9.043e-05/0.2711, allocations: 103.2 kB / 0.9591 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001625/0.2713, allocations: 83.86 kB / 0.9592 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2713, allocations: 0 / 0.9592 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 7.373e-05/0.2714, allocations: 56.33 kB / 0.9592 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003625/0.2718, allocations: 73.75 kB / 0.9593 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009275/0.2727, allocations: 0.6061 MB / 0.9599 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.273, allocations: 0.8141 MB / 0.9607 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.277e-05/0.2731, allocations: 23.44 kB / 0.9607 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of SimCode: time 2.2e-07/0.2731, allocations: 0 / 0.9607 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of Templates: time 0.006006/0.2791, allocations: 3.691 MB / 0.9643 GB, free: 9.934 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.sim & ./Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_GroundTemperature_Examples_CorrectedConvection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.GroundTemperature.Examples.CorrectedConvection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches