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.001455/0.001455, allocations: 108 kB / 15.61 MB, free: 152 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.001422/0.001422, allocations: 196.5 kB / 16.53 MB, free: 6.664 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.322/1.322, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.839/2.839, allocations: 469.8 MB / 0.7424 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002741/0.002741, allocations: 62.92 kB / 0.9087 GB, free: 34.2 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2727, allocations: 159.1 MB / 1.064 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004665/0.2774, allocations: 3.079 MB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002818/0.2802, allocations: 1.912 MB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.151e-05/0.2803, allocations: 4 kB / 1.069 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0008443/0.2812, allocations: 279.7 kB / 1.069 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003856/0.2816, allocations: 191.1 kB / 1.069 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005112/0.2821, allocations: 244 kB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003554/0.2825, allocations: 322.9 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003207/0.2828, allocations: 189.2 kB / 1.07 GB, free: 8.02 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.283, allocations: 131.5 kB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002697/0.2833, allocations: 143.5 kB / 1.07 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.786e-05/0.2833, allocations: 23.94 kB / 1.07 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006046/0.2839, allocations: 407.2 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.284, allocations: 79.8 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.2842, allocations: 123.4 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005936/0.2848, allocations: 490.7 kB / 1.071 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2848, allocations: 0 / 1.071 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2848, allocations: 4 kB / 1.071 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.2848, allocations: 0 / 1.071 GB, free: 6.645 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.0008492/0.2857, allocations: 0.5574 MB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.2857, allocations: 8.031 kB / 1.072 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.637e-05/0.2858, allocations: 58.72 kB / 1.072 GB, free: 5.965 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007985/0.2866, allocations: 108.5 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003291/0.2869, allocations: 262.5 kB / 1.072 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.2869, allocations: 20.8 kB / 1.072 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.14e-05/0.287, allocations: 24.36 kB / 1.072 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005313/0.2875, allocations: 353.2 kB / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.2875, allocations: 0 / 1.073 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.833e-05/0.2876, allocations: 8 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.146e-05/0.2876, allocations: 24.42 kB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004612/0.2881, allocations: 293.5 kB / 1.073 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002168/0.2903, allocations: 1.741 MB / 1.075 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004983/0.2908, allocations: 318.1 kB / 1.075 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001632/0.2909, allocations: 109.9 kB / 1.075 GB, free: 2.465 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001205/0.2911, allocations: 93.08 kB / 1.075 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.2911, allocations: 38.5 kB / 1.075 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.243e-06/0.2911, allocations: 0 / 1.075 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23): time 0.002481/0.2936, allocations: 0.9759 MB / 1.076 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.2937, allocations: 81.05 kB / 1.076 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/0.2939, allocations: 207.8 kB / 1.077 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.2939, allocations: 29.7 kB / 1.077 GB, free: 0.9531 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.2941, allocations: 180 kB / 1.077 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.763e-05/0.2941, allocations: 78.84 kB / 1.077 GB, free: 0.6953 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.2942, allocations: 57.69 kB / 1.077 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.2944, allocations: 334.8 kB / 1.077 GB, free: 304 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.2946, allocations: 131.9 kB / 1.077 GB, free: 172 kB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002761/0.2949, allocations: 210.2 kB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004907/0.2954, allocations: 374.5 kB / 1.078 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.2954, allocations: 0 / 1.078 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008772/0.2963, allocations: 0.5063 MB / 1.078 GB, free: 15 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.2963, allocations: 9.812 kB / 1.078 GB, free: 15 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.2963, allocations: 3.938 kB / 1.078 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005084/0.2968, allocations: 159.3 kB / 1.079 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002457/0.2971, allocations: 55.91 kB / 1.079 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003338/0.3004, allocations: 4.187 MB / 1.083 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/0.3006, allocations: 23.89 kB / 1.083 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/0.3007, allocations: 12 kB / 1.083 GB, free: 10.22 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.0001693/0.3008, allocations: 169.8 kB / 1.083 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.238e-05/0.3009, allocations: 19.81 kB / 1.083 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008758/0.3018, allocations: 483.9 kB / 1.083 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.3018, allocations: 4 kB / 1.083 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.3018, allocations: 0 / 1.083 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3018, allocations: 4 kB / 1.083 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001578/0.3034, allocations: 1.011 MB / 1.084 GB, free: 8.422 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.3034, allocations: 4 kB / 1.084 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/0.3036, allocations: 31.92 kB / 1.084 GB, free: 8.387 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003979/0.304, allocations: 143.6 kB / 1.085 GB, free: 8.234 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.304, allocations: 8 kB / 1.085 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003172/0.3072, allocations: 4.166 MB / 1.089 GB, free: 3.73 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.3072, allocations: 4.078 kB / 1.089 GB, free: 3.727 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008356/0.308, allocations: 0.642 MB / 1.089 GB, free: 3.031 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.3082, allocations: 128.8 kB / 1.089 GB, free: 2.887 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.225e-05/0.3082, allocations: 15.89 kB / 1.089 GB, free: 2.871 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.3085, allocations: 15.98 kB / 1.089 GB, free: 2.855 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.597e-05/0.3085, allocations: 31.91 kB / 1.089 GB, free: 2.824 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.3085, allocations: 8 kB / 1.089 GB, free: 2.816 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001507/0.3087, allocations: 153.5 kB / 1.09 GB, free: 2.668 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3087, allocations: 0 / 1.09 GB, free: 2.668 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000483/0.3092, allocations: 91.98 kB / 1.09 GB, free: 2.578 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.001204/0.3104, allocations: 1.188 MB / 1.091 GB, free: 1.324 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0009645/0.3114, allocations: 0.6032 MB / 1.091 GB, free: 0.6992 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3114, allocations: 3.938 kB / 1.091 GB, free: 0.6953 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005346/0.3119, allocations: 402.2 kB / 1.092 GB, free: 284 kB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004857/0.3124, allocations: 39.92 kB / 1.092 GB, free: 244 kB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00421/0.3167, allocations: 3.337 MB / 1.095 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004139/0.3171, allocations: 0.7831 MB / 1.096 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001725/0.3173, allocations: 54.25 kB / 1.096 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.3174, allocations: 71.41 kB / 1.096 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of SimCode: time 3.31e-07/0.3174, allocations: 0 / 1.096 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.212/1.53, allocations: 6.618 MB / 1.102 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.66/18.19, allocations: 6.125 kB / 1.102 GB, free: 5.273 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 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.mat","/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