Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 113 kB / 18.94 MB, free: 2.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002026/0.002026, allocations: 213.7 kB / 22.25 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.405/1.405, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.689/2.689, allocations: 476.7 MB / 0.7707 GB, free: 4.234 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 67.2 kB / 1.117 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3062, allocations: 170 MB / 1.283 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005265/0.3115, allocations: 3.196 MB / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003401/0.3149, allocations: 2.044 MB / 1.288 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.315, allocations: 11.94 kB / 1.288 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009747/0.316, allocations: 294.8 kB / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004649/0.3164, allocations: 195.1 kB / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006229/0.317, allocations: 267.1 kB / 1.289 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004015/0.3174, allocations: 315 kB / 1.29 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003175/0.3178, allocations: 157 kB / 1.29 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002261/0.318, allocations: 135.5 kB / 1.29 GB, free: 5.125 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003013/0.3183, allocations: 151.5 kB / 1.29 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.461e-05/0.3183, allocations: 23.94 kB / 1.29 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006834/0.319, allocations: 431.1 kB / 1.29 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.3191, allocations: 79.8 kB / 1.29 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001392/0.3193, allocations: 127.4 kB / 1.291 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006632/0.3199, allocations: 0.4944 MB / 1.291 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3199, allocations: 0 / 1.291 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3199, allocations: 0 / 1.291 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.3199, allocations: 0 / 1.291 GB, free: 3.832 MB / 0.9825 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.00089/0.3208, allocations: 0.4971 MB / 1.292 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.3209, allocations: 12.03 kB / 1.292 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.195e-05/0.3209, allocations: 54.73 kB / 1.292 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007785/0.3217, allocations: 112.7 kB / 1.292 GB, free: 3.117 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003646/0.3221, allocations: 212.3 kB / 1.292 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.3221, allocations: 12.81 kB / 1.292 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.784e-05/0.3221, allocations: 16.38 kB / 1.292 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005573/0.3227, allocations: 356.9 kB / 1.292 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.3227, allocations: 3.938 kB / 1.292 GB, free: 2.488 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.625e-05/0.3227, allocations: 4 kB / 1.292 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.415e-05/0.3228, allocations: 32.36 kB / 1.292 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004752/0.3232, allocations: 293.5 kB / 1.293 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002236/0.3255, allocations: 1.627 MB / 1.294 GB, free: 404 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004812/0.326, allocations: 233.1 kB / 1.294 GB, free: 152 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001614/0.3261, allocations: 107.7 kB / 1.295 GB, free: 40 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.644e-05/0.3262, allocations: 20.19 kB / 1.295 GB, free: 20 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.799e-05/0.3263, allocations: 38.56 kB / 1.295 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.402e-06/0.3263, allocations: 0 / 1.295 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.002446/0.3287, allocations: 0.9027 MB / 1.295 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/0.3288, allocations: 84.98 kB / 1.296 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002335/0.329, allocations: 211.8 kB / 1.296 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.329, allocations: 33.7 kB / 1.296 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.3292, allocations: 176.4 kB / 1.296 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.883e-05/0.3292, allocations: 79.33 kB / 1.296 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.3293, allocations: 61.66 kB / 1.296 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3295, allocations: 338.8 kB / 1.296 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.3297, allocations: 128 kB / 1.297 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002702/0.33, allocations: 209.2 kB / 1.297 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005026/0.3305, allocations: 377.8 kB / 1.297 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3305, allocations: 0 / 1.297 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008983/0.3314, allocations: 0.5024 MB / 1.298 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.3314, allocations: 8 kB / 1.298 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.3314, allocations: 4 kB / 1.298 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000522/0.3319, allocations: 155.2 kB / 1.298 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002492/0.3322, allocations: 55.91 kB / 1.298 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003387/0.3356, allocations: 3.976 MB / 1.302 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001982/0.3358, allocations: 24 kB / 1.302 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.222e-05/0.3358, allocations: 12.16 kB / 1.302 GB, free: 8.227 MB / 0.9981 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.0001936/0.336, allocations: 169.6 kB / 1.302 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.359e-05/0.336, allocations: 27.84 kB / 1.302 GB, free: 8.023 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008856/0.3369, allocations: 478.1 kB / 1.302 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.3369, allocations: 4 kB / 1.302 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.3369, allocations: 0 / 1.302 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.3369, allocations: 7.984 kB / 1.302 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00164/0.3386, allocations: 0.9639 MB / 1.303 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3386, allocations: 0 / 1.303 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001329/0.3387, allocations: 40.17 kB / 1.303 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003913/0.3391, allocations: 139.3 kB / 1.303 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.3391, allocations: 8 kB / 1.303 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003217/0.3424, allocations: 3.964 MB / 1.307 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/0.3424, allocations: 8.031 kB / 1.307 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008552/0.3432, allocations: 0.6217 MB / 1.308 GB, free: 1.355 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.3433, allocations: 43.83 kB / 1.308 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.623e-05/0.3434, allocations: 15.94 kB / 1.308 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/0.3436, allocations: 19.98 kB / 1.308 GB, free: 1.277 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.204e-05/0.3437, allocations: 23.91 kB / 1.308 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.3437, allocations: 8 kB / 1.308 GB, free: 1.246 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001537/0.3438, allocations: 161.5 kB / 1.308 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3438, allocations: 0 / 1.308 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000537/0.3444, allocations: 91.88 kB / 1.308 GB, free: 1 MB / 0.9981 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.001275/0.3456, allocations: 1.207 MB / 1.309 GB, free: 15.73 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009692/0.3466, allocations: 0.5638 MB / 1.31 GB, free: 15.14 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.3466, allocations: 0 / 1.31 GB, free: 15.14 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005288/0.3471, allocations: 401.1 kB / 1.31 GB, free: 14.72 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005024/0.3476, allocations: 39.97 kB / 1.31 GB, free: 14.68 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004385/0.352, allocations: 3.317 MB / 1.314 GB, free: 11.14 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004423/0.3525, allocations: 0.7831 MB / 1.314 GB, free: 10.34 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001593/0.3526, allocations: 58.23 kB / 1.315 GB, free: 10.28 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.3528, allocations: 67.42 kB / 1.315 GB, free: 10.21 MB / 1.014 GB Notification: Performance of SimCode: time 5.31e-07/0.3528, allocations: 0 / 1.315 GB, free: 10.21 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04069/0.3934, allocations: 7.142 MB / 1.322 GB, free: 3.238 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/12.88, allocations: 8.906 kB / 1.322 GB, free: 3.234 MB / 1.014 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv. Warning: Get data of variable grid.P.real from file Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv failed! Error: Could not read variable grid.P.apparent in file Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv. Warning: Get data of variable grid.P.apparent from file Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv failed! Error: Could not read variable resistor.S[1] in file Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv. Warning: Get data of variable resistor.S[1] from file Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv failed! Error: Could not read variable resistor.S[2] in file Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv. Warning: Get data of variable resistor.S[2] from file Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.24626033700042]