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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001927/0.001926, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002205/0.002205, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.476/1.476, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.828/2.828, allocations: 469.8 MB / 0.7424 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001971/0.001971, allocations: 67.14 kB / 0.9087 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2598, allocations: 159.2 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004933/0.2648, allocations: 3.071 MB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003001/0.2678, allocations: 1.912 MB / 1.069 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.268, allocations: 4 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0008533/0.2688, allocations: 278.9 kB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004073/0.2692, allocations: 195.1 kB / 1.069 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005344/0.2698, allocations: 243.9 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003616/0.2702, allocations: 322.9 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003297/0.2705, allocations: 185.2 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000206/0.2707, allocations: 135.5 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002787/0.271, allocations: 147.5 kB / 1.07 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.601e-05/0.2711, allocations: 20 kB / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000616/0.2717, allocations: 407.2 kB / 1.071 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.2718, allocations: 79.8 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001377/0.2719, allocations: 123.4 kB / 1.071 GB, free: 7.117 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006246/0.2726, allocations: 486.7 kB / 1.071 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2726, allocations: 8 kB / 1.071 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.153e-06/0.2726, allocations: 0 / 1.071 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.2726, allocations: 0 / 1.071 GB, free: 6.633 MB / 0.8262 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.0008808/0.2735, allocations: 0.5536 MB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.2735, allocations: 8.031 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.753e-05/0.2736, allocations: 62.7 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008233/0.2744, allocations: 112.5 kB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003419/0.2748, allocations: 259.9 kB / 1.072 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.2748, allocations: 16.8 kB / 1.072 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.309e-05/0.2749, allocations: 24.36 kB / 1.072 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005631/0.2754, allocations: 349.2 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.2754, allocations: 3.938 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.099e-05/0.2755, allocations: 16 kB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-05/0.2755, allocations: 20.42 kB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000491/0.276, allocations: 293.5 kB / 1.073 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002265/0.2783, allocations: 1.741 MB / 1.075 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005299/0.2788, allocations: 324.2 kB / 1.075 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.279, allocations: 113.9 kB / 1.075 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/0.2792, allocations: 85.09 kB / 1.075 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.2792, allocations: 38.5 kB / 1.075 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.413e-06/0.2792, allocations: 0 / 1.075 GB, free: 2.293 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23): time 0.002619/0.2818, allocations: 0.9663 MB / 1.076 GB, free: 1.289 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/0.2819, allocations: 81.05 kB / 1.076 GB, free: 1.191 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002433/0.2821, allocations: 211.8 kB / 1.077 GB, free: 0.9766 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.26e-05/0.2822, allocations: 33.7 kB / 1.077 GB, free: 0.9375 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.2823, allocations: 168.1 kB / 1.077 GB, free: 0.7695 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.429e-05/0.2824, allocations: 78.83 kB / 1.077 GB, free: 0.6914 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.2825, allocations: 61.73 kB / 1.077 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.2827, allocations: 334.8 kB / 1.077 GB, free: 296 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/0.2829, allocations: 131.9 kB / 1.077 GB, free: 164 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002793/0.2832, allocations: 214 kB / 1.078 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005105/0.2837, allocations: 374.5 kB / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2837, allocations: 0 / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009247/0.2846, allocations: 0.5141 MB / 1.078 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.2847, allocations: 8 kB / 1.078 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2847, allocations: 0 / 1.078 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005242/0.2852, allocations: 151.4 kB / 1.079 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/0.2855, allocations: 59.91 kB / 1.079 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00338/0.2889, allocations: 4.186 MB / 1.083 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.2891, allocations: 19.89 kB / 1.083 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.709e-05/0.2891, allocations: 16 kB / 1.083 GB, free: 10.21 MB / 0.8419 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.0001773/0.2893, allocations: 169.8 kB / 1.083 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.456e-05/0.2894, allocations: 19.81 kB / 1.083 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009067/0.2903, allocations: 483.9 kB / 1.083 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.2903, allocations: 4 kB / 1.083 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.2903, allocations: 4 kB / 1.083 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.2903, allocations: 4.078 kB / 1.083 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001626/0.292, allocations: 0.9974 MB / 1.084 GB, free: 8.422 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/0.292, allocations: 4 kB / 1.084 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001405/0.2921, allocations: 39.91 kB / 1.084 GB, free: 8.379 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004088/0.2925, allocations: 139.6 kB / 1.085 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.2926, allocations: 8 kB / 1.085 GB, free: 8.223 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00326/0.2958, allocations: 4.182 MB / 1.089 GB, free: 3.711 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/0.2959, allocations: 4.031 kB / 1.089 GB, free: 3.707 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008646/0.2967, allocations: 0.6379 MB / 1.089 GB, free: 3.016 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.2969, allocations: 124.8 kB / 1.089 GB, free: 2.875 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.919e-05/0.2969, allocations: 11.91 kB / 1.089 GB, free: 2.863 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000234/0.2972, allocations: 19.97 kB / 1.089 GB, free: 2.844 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.989e-05/0.2972, allocations: 27.92 kB / 1.089 GB, free: 2.816 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.2972, allocations: 8 kB / 1.089 GB, free: 2.809 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001573/0.2974, allocations: 157.5 kB / 1.09 GB, free: 2.656 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2974, allocations: 0 / 1.09 GB, free: 2.656 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004943/0.2979, allocations: 88 kB / 1.09 GB, free: 2.57 MB / 0.8419 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.00125/0.2992, allocations: 1.196 MB / 1.091 GB, free: 1.309 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001001/0.3002, allocations: 0.5984 MB / 1.091 GB, free: 0.6875 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.3002, allocations: 4 kB / 1.091 GB, free: 0.6836 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005571/0.3008, allocations: 398.2 kB / 1.092 GB, free: 276 kB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005108/0.3013, allocations: 46.62 kB / 1.092 GB, free: 232 kB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004477/0.3058, allocations: 3.326 MB / 1.095 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004278/0.3062, allocations: 0.7869 MB / 1.096 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001798/0.3064, allocations: 58.23 kB / 1.096 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.3065, allocations: 71.41 kB / 1.096 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of SimCode: time 2.51e-07/0.3065, allocations: 0 / 1.096 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03511/0.3416, allocations: 6.62 MB / 1.102 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12, allocations: 10.75 kB / 1.102 GB, free: 5.258 MB / 0.8575 GB (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) 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) Reference file matches