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.0008901/0.0008901, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008798/0.0008798, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8826/0.8826, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.652/1.652, allocations: 359 MB / 0.6037 GB, free: 11.12 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 0.9505 GB, free: 3.535 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.059e-05/1.253e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.531 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.003045/0.003058, allocations: 3.041 MB / 0.9534 GB, free: 480 kB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001919/0.004977, allocations: 1.858 MB / 0.9552 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.005077, allocations: 11.88 kB / 0.9553 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005678/0.005645, allocations: 282.8 kB / 0.9555 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0003208/0.005966, allocations: 206.8 kB / 0.9557 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003603/0.006326, allocations: 267.3 kB / 0.956 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0002712/0.006598, allocations: 330.8 kB / 0.9563 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002658/0.006863, allocations: 153 kB / 0.9564 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002184/0.007082, allocations: 187.5 kB / 0.9566 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002075/0.007289, allocations: 135.6 kB / 0.9568 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.757e-05/0.007317, allocations: 24 kB / 0.9568 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003561/0.007673, allocations: 383 kB / 0.9571 GB, free: 12.65 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 8.302e-05/0.007756, allocations: 91.72 kB / 0.9572 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 7.02e-05/0.007826, allocations: 79.83 kB / 0.9573 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0004669/0.008293, allocations: 0.5219 MB / 0.9578 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.008295, allocations: 0 / 0.9578 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.172e-06/0.008296, allocations: 3.938 kB / 0.9578 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.008301, allocations: 0 / 0.9578 GB, free: 11.96 MB / 0.9167 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.0006418/0.008943, allocations: 0.4933 MB / 0.9583 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.00898, allocations: 12.03 kB / 0.9583 GB, free: 11.42 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.141e-05/0.009032, allocations: 54.73 kB / 0.9584 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004305/0.009462, allocations: 112.6 kB / 0.9585 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002698/0.009732, allocations: 213.3 kB / 0.9587 GB, free: 11.02 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.009747, allocations: 8.875 kB / 0.9587 GB, free: 11.01 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/0.009773, allocations: 24.36 kB / 0.9587 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004203/0.01019, allocations: 404.8 kB / 0.9591 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.01021, allocations: 8.188 kB / 0.9591 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.165e-05/0.01023, allocations: 8.125 kB / 0.9591 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.515e-05/0.01026, allocations: 28.48 kB / 0.9591 GB, free: 10.51 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003159/0.01058, allocations: 285.8 kB / 0.9594 GB, free: 10.23 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.0119, allocations: 1.276 MB / 0.9607 GB, free: 8.883 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002986/0.0122, allocations: 240 kB / 0.9609 GB, free: 8.633 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.0123, allocations: 101.6 kB / 0.961 GB, free: 8.527 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 4.955e-05/0.01235, allocations: 19.91 kB / 0.961 GB, free: 8.508 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.01238, allocations: 34.56 kB / 0.961 GB, free: 8.465 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=16): time 1.392e-06/0.01238, allocations: 0 / 0.961 GB, free: 8.465 MB / 0.9167 GB Notification: Performance of matching and sorting (n=23): time 0.001502/0.01388, allocations: 0.9033 MB / 0.9619 GB, free: 7.547 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.01392, allocations: 85.05 kB / 0.962 GB, free: 7.445 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.01408, allocations: 219.8 kB / 0.9622 GB, free: 7.219 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.0141, allocations: 29.7 kB / 0.9622 GB, free: 7.184 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 9.037e-05/0.01419, allocations: 172.5 kB / 0.9624 GB, free: 7.012 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.442e-05/0.01423, allocations: 83.27 kB / 0.9625 GB, free: 6.93 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.268e-05/0.01431, allocations: 69.64 kB / 0.9625 GB, free: 6.855 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.786e-05/0.0144, allocations: 334.8 kB / 0.9629 GB, free: 6.52 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.01453, allocations: 131.8 kB / 0.963 GB, free: 6.391 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/0.0147, allocations: 209.4 kB / 0.9632 GB, free: 6.152 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003295/0.01503, allocations: 372.8 kB / 0.9635 GB, free: 5.758 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.01503, allocations: 0 / 0.9635 GB, free: 5.758 MB / 0.9167 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005387/0.01557, allocations: 0.4965 MB / 0.964 GB, free: 5.242 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.01559, allocations: 8 kB / 0.964 GB, free: 5.234 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.0156, allocations: 4.312 kB / 0.964 GB, free: 5.23 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003154/0.01591, allocations: 155.3 kB / 0.9642 GB, free: 5.066 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.01606, allocations: 55.91 kB / 0.9642 GB, free: 5.012 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001918/0.01798, allocations: 3.968 MB / 0.9681 GB, free: 0.7578 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.44e-05/0.01807, allocations: 15.98 kB / 0.9681 GB, free: 0.7422 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.01809, allocations: 12.42 kB / 0.9681 GB, free: 0.7305 MB / 0.9167 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.0001065/0.01819, allocations: 169.7 kB / 0.9683 GB, free: 0.5547 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.699e-05/0.01823, allocations: 23.8 kB / 0.9683 GB, free: 0.5312 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004975/0.01873, allocations: 480.3 kB / 0.9688 GB, free: 48 kB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.01873, allocations: 11.94 kB / 0.9688 GB, free: 36 kB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.01873, allocations: 0 / 0.9688 GB, free: 36 kB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.01874, allocations: 0 / 0.9688 GB, free: 36 kB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009275/0.01966, allocations: 0.9386 MB / 0.9697 GB, free: 15.01 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.01967, allocations: 4 kB / 0.9697 GB, free: 15.01 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.182e-05/0.01974, allocations: 40.16 kB / 0.9698 GB, free: 14.97 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002047/0.01994, allocations: 139.3 kB / 0.9699 GB, free: 14.82 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.01996, allocations: 4 kB / 0.9699 GB, free: 14.82 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001654/0.02161, allocations: 3.945 MB / 0.9737 GB, free: 10.59 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.02161, allocations: 0 / 0.9737 GB, free: 10.59 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004703/0.02208, allocations: 0.6366 MB / 0.9744 GB, free: 9.902 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 6.428e-05/0.02215, allocations: 44.14 kB / 0.9744 GB, free: 9.859 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.02217, allocations: 19.94 kB / 0.9744 GB, free: 9.84 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.02229, allocations: 19.92 kB / 0.9744 GB, free: 9.82 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.239e-05/0.02232, allocations: 23.97 kB / 0.9745 GB, free: 9.797 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.02233, allocations: 15.92 kB / 0.9745 GB, free: 9.781 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 8.826e-05/0.02242, allocations: 157.5 kB / 0.9746 GB, free: 9.629 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8e-08/0.02242, allocations: 0 / 0.9746 GB, free: 9.629 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.000307/0.02273, allocations: 87.94 kB / 0.9747 GB, free: 9.543 MB / 0.9323 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.0007141/0.02344, allocations: 1.19 MB / 0.9759 GB, free: 8.285 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00057/0.02401, allocations: 0.5599 MB / 0.9764 GB, free: 7.699 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.02401, allocations: 4 kB / 0.9764 GB, free: 7.695 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002633/0.02428, allocations: 381.1 kB / 0.9768 GB, free: 7.297 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.0246, allocations: 46.62 kB / 0.9768 GB, free: 7.254 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002585/0.02718, allocations: 3.337 MB / 0.9801 GB, free: 3.703 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001213/0.0273, allocations: 169.2 kB / 0.9803 GB, free: 3.523 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001011/0.0274, allocations: 66.17 kB / 0.9803 GB, free: 3.457 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.591e-05/0.02748, allocations: 68.48 kB / 0.9804 GB, free: 3.387 MB / 0.9323 GB Notification: Performance of SimCode: time 4.91e-07/0.02748, allocations: 0 / 0.9804 GB, free: 3.387 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0205/0.04798, allocations: 7.494 MB / 0.9877 GB, free: 12.09 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.717/7.765, allocations: 8.062 kB / 0.9877 GB, free: 12.09 MB / 0.948 GB " [Timeout remaining time 292] (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/jenkins/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: 11.741115105338395]