Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 112.2 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 190.6 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 225.6 MB / 249.3 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.342/2.342, allocations: 443.5 MB / 0.7304 GB, free: 13.96 MB / 0.5762 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 71.88 kB / 1.059 GB, free: 1.008 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.266, allocations: 160.7 MB / 1.216 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004704/0.2707, allocations: 3.183 MB / 1.219 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003003/0.2737, allocations: 1.988 MB / 1.221 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.2738, allocations: 4 kB / 1.221 GB, free: 10.78 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008688/0.2747, allocations: 286.8 kB / 1.221 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004308/0.2751, allocations: 199.1 kB / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005334/0.2757, allocations: 239.2 kB / 1.221 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003835/0.276, allocations: 326.9 kB / 1.222 GB, free: 9.746 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000267/0.2763, allocations: 129 kB / 1.222 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001888/0.2765, allocations: 139.5 kB / 1.222 GB, free: 9.477 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002926/0.2768, allocations: 163.4 kB / 1.222 GB, free: 9.316 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.206e-05/0.2768, allocations: 28 kB / 1.222 GB, free: 9.289 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006163/0.2774, allocations: 403.2 kB / 1.222 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001187/0.2776, allocations: 95.72 kB / 1.222 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.2777, allocations: 119.4 kB / 1.223 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006421/0.2783, allocations: 494.3 kB / 1.223 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.2783, allocations: 0 / 1.223 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2783, allocations: 0 / 1.223 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.225e-06/0.2784, allocations: 0 / 1.223 GB, free: 8.199 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009171/0.2793, allocations: 0.5685 MB / 1.224 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.2793, allocations: 8.031 kB / 1.224 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.797e-05/0.2794, allocations: 54.73 kB / 1.224 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007653/0.2801, allocations: 120.6 kB / 1.224 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003538/0.2805, allocations: 263.9 kB / 1.224 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.2805, allocations: 16.81 kB / 1.224 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.435e-05/0.2806, allocations: 24.31 kB / 1.224 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005454/0.2811, allocations: 353.2 kB / 1.224 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.2811, allocations: 0 / 1.224 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.981e-05/0.2811, allocations: 11.94 kB / 1.224 GB, free: 6.68 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.521e-05/0.2812, allocations: 24.42 kB / 1.224 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004564/0.2816, allocations: 293.5 kB / 1.225 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002074/0.2837, allocations: 1.738 MB / 1.226 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004884/0.2842, allocations: 314.1 kB / 1.227 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.2844, allocations: 109.9 kB / 1.227 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001105/0.2845, allocations: 85.09 kB / 1.227 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.2845, allocations: 42.5 kB / 1.227 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.2845, allocations: 3.938 kB / 1.227 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of matching and sorting (n=23): time 0.002482/0.287, allocations: 0.9668 MB / 1.228 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/0.287, allocations: 89.03 kB / 1.228 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.2873, allocations: 215.7 kB / 1.228 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/0.2873, allocations: 29.7 kB / 1.228 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.2874, allocations: 168.5 kB / 1.228 GB, free: 2.312 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.31e-05/0.2875, allocations: 87.36 kB / 1.228 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.2876, allocations: 65.69 kB / 1.229 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.2877, allocations: 334.8 kB / 1.229 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/0.2879, allocations: 127.9 kB / 1.229 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002529/0.2882, allocations: 214.4 kB / 1.229 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004996/0.2887, allocations: 364.1 kB / 1.23 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2887, allocations: 0 / 1.23 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008564/0.2895, allocations: 0.5101 MB / 1.23 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.2895, allocations: 4 kB / 1.23 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.2896, allocations: 4 kB / 1.23 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005013/0.2901, allocations: 155.4 kB / 1.23 GB, free: 376 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002332/0.2903, allocations: 55.91 kB / 1.23 GB, free: 320 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003377/0.2937, allocations: 4.206 MB / 1.234 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/0.2938, allocations: 15.98 kB / 1.234 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.545e-05/0.2939, allocations: 12 kB / 1.234 GB, free: 11.75 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001794/0.294, allocations: 169.6 kB / 1.235 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.876e-05/0.2941, allocations: 19.86 kB / 1.235 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008301/0.2949, allocations: 468.4 kB / 1.235 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.2949, allocations: 4.078 kB / 1.235 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.295, allocations: 7.938 kB / 1.235 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.295, allocations: 0 / 1.235 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001528/0.2965, allocations: 1.002 MB / 1.236 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.2965, allocations: 4 kB / 1.236 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/0.2966, allocations: 35.91 kB / 1.236 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000374/0.297, allocations: 143.3 kB / 1.236 GB, free: 9.781 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.297, allocations: 12.22 kB / 1.236 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003037/0.3, allocations: 4.163 MB / 1.24 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.3001, allocations: 4.031 kB / 1.24 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008131/0.3009, allocations: 0.6179 MB / 1.241 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.301, allocations: 124.9 kB / 1.241 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.887e-05/0.301, allocations: 11.98 kB / 1.241 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002121/0.3012, allocations: 15.98 kB / 1.241 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.822e-05/0.3013, allocations: 23.97 kB / 1.241 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.3013, allocations: 12 kB / 1.241 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001467/0.3015, allocations: 152.2 kB / 1.241 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3015, allocations: 0 / 1.241 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004752/0.3019, allocations: 95.86 kB / 1.241 GB, free: 4.152 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001172/0.3031, allocations: 1.203 MB / 1.242 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009095/0.304, allocations: 0.5635 MB / 1.243 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.304, allocations: 0 / 1.243 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005279/0.3045, allocations: 390.1 kB / 1.243 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004703/0.305, allocations: 55.56 kB / 1.243 GB, free: 1.84 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004108/0.3091, allocations: 3.326 MB / 1.247 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.3095, allocations: 0.7829 MB / 1.247 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001606/0.3097, allocations: 70.17 kB / 1.248 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.3098, allocations: 71.41 kB / 1.248 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of SimCode: time 4.81e-07/0.3098, allocations: 0 / 1.248 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03708/0.3469, allocations: 6.784 MB / 1.254 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/11.04, allocations: 0 / 1.254 GB, free: 6.715 MB / 0.9981 GB " [Timeout remaining time 289] (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable grid.P.real in file Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv. Warning: Get data of variable grid.P.real from file Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv failed! Error: Could not read variable grid.P.apparent in file Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv. Warning: Get data of variable grid.P.apparent from file Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv failed! Error: Could not read variable resistor.S[1] in file Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv. Warning: Get data of variable resistor.S[1] from file Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv failed! Error: Could not read variable resistor.S[2] in file Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv. Warning: Get data of variable resistor.S[2] from file Buildings_10_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.689053442998556]