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.006579/0.006579, allocations: 102.1 kB / 15.74 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001784/0.001784, allocations: 191 kB / 16.67 MB, free: 5.961 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.742/2.742, allocations: 469.8 MB / 0.7425 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001815, allocations: 71.83 kB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2936, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004715/0.2984, allocations: 3.071 MB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002989/0.3014, allocations: 1.92 MB / 1.225 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000104/0.3015, allocations: 4 kB / 1.225 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008885/0.3024, allocations: 274.9 kB / 1.225 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000407/0.3028, allocations: 203.1 kB / 1.225 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005317/0.3034, allocations: 239.2 kB / 1.226 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003744/0.3038, allocations: 330.8 kB / 1.226 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003155/0.3041, allocations: 177 kB / 1.226 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.3043, allocations: 135.5 kB / 1.226 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002842/0.3046, allocations: 151.5 kB / 1.226 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.768e-05/0.3046, allocations: 20 kB / 1.226 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006044/0.3052, allocations: 399.2 kB / 1.227 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.3053, allocations: 87.78 kB / 1.227 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001412/0.3055, allocations: 123.4 kB / 1.227 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006191/0.3061, allocations: 498.3 kB / 1.228 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.3061, allocations: 4 kB / 1.228 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3061, allocations: 3.938 kB / 1.228 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.3061, allocations: 0 / 1.228 GB, free: 6.727 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.000818/0.307, allocations: 0.5607 MB / 1.228 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.307, allocations: 12.03 kB / 1.228 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.535e-05/0.3071, allocations: 54.73 kB / 1.228 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007921/0.3079, allocations: 116.6 kB / 1.228 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003252/0.3082, allocations: 266.2 kB / 1.229 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.3082, allocations: 12.81 kB / 1.229 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.183e-05/0.3083, allocations: 24.36 kB / 1.229 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005398/0.3088, allocations: 357.3 kB / 1.229 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.3088, allocations: 0 / 1.229 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.827e-05/0.3089, allocations: 7.984 kB / 1.229 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.252e-05/0.3089, allocations: 28.42 kB / 1.229 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004755/0.3094, allocations: 301.4 kB / 1.229 GB, free: 4.887 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002107/0.3115, allocations: 1.734 MB / 1.231 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004873/0.312, allocations: 318.1 kB / 1.231 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/0.3122, allocations: 109.6 kB / 1.231 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000106/0.3123, allocations: 85.11 kB / 1.231 GB, free: 2.426 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.3123, allocations: 38.55 kB / 1.231 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.322e-06/0.3124, allocations: 0 / 1.231 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23): time 0.002442/0.3148, allocations: 0.9683 MB / 1.232 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/0.3149, allocations: 88.98 kB / 1.232 GB, free: 1.27 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002189/0.3151, allocations: 207.8 kB / 1.233 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.3151, allocations: 29.7 kB / 1.233 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.3152, allocations: 176.4 kB / 1.233 GB, free: 0.8398 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.192e-05/0.3153, allocations: 91.25 kB / 1.233 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.813e-05/0.3154, allocations: 53.7 kB / 1.233 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.3156, allocations: 334.8 kB / 1.233 GB, free: 364 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/0.3158, allocations: 127.9 kB / 1.233 GB, free: 236 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002664/0.316, allocations: 218.1 kB / 1.234 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004858/0.3165, allocations: 374.5 kB / 1.234 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.3166, allocations: 0 / 1.234 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008761/0.3174, allocations: 0.512 MB / 1.235 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.3175, allocations: 12.06 kB / 1.235 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3175, allocations: 0 / 1.235 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005251/0.318, allocations: 151.3 kB / 1.235 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002455/0.3183, allocations: 59.89 kB / 1.235 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003284/0.3216, allocations: 4.19 MB / 1.239 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.3218, allocations: 23.97 kB / 1.239 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.48e-05/0.3218, allocations: 16.09 kB / 1.239 GB, free: 10.27 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.0001746/0.322, allocations: 168 kB / 1.239 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.083e-05/0.322, allocations: 27.84 kB / 1.239 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008635/0.3229, allocations: 470.5 kB / 1.239 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.3229, allocations: 4 kB / 1.24 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.3229, allocations: 0 / 1.24 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.323, allocations: 4 kB / 1.24 GB, free: 9.586 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001532/0.3245, allocations: 1.001 MB / 1.24 GB, free: 8.492 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.3245, allocations: 4 kB / 1.24 GB, free: 8.488 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.3246, allocations: 28.23 kB / 1.241 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000395/0.325, allocations: 151.2 kB / 1.241 GB, free: 8.301 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.3251, allocations: 11.94 kB / 1.241 GB, free: 8.289 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003078/0.3282, allocations: 4.155 MB / 1.245 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.3282, allocations: 7.969 kB / 1.245 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007996/0.329, allocations: 0.6179 MB / 1.245 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.3291, allocations: 124.9 kB / 1.245 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.547e-05/0.3292, allocations: 8 kB / 1.245 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002181/0.3294, allocations: 24.02 kB / 1.245 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.122e-05/0.3294, allocations: 31.81 kB / 1.246 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.3295, allocations: 8 kB / 1.246 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001492/0.3296, allocations: 161.5 kB / 1.246 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3296, allocations: 4 kB / 1.246 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004735/0.3301, allocations: 83.94 kB / 1.246 GB, free: 2.668 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.0012/0.3313, allocations: 1.202 MB / 1.247 GB, free: 1.402 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000925/0.3323, allocations: 0.5912 MB / 1.248 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.3323, allocations: 0 / 1.248 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005167/0.3328, allocations: 399 kB / 1.248 GB, free: 380 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004873/0.3333, allocations: 43.92 kB / 1.248 GB, free: 336 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5061/0.8394, allocations: 3.32 MB / 1.251 GB, free: 28.07 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.8397, allocations: 0.7841 MB / 1.252 GB, free: 27.38 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001809/0.8399, allocations: 56.72 kB / 1.252 GB, free: 27.37 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.895e-05/0.84, allocations: 72.08 kB / 1.252 GB, free: 27.36 MB / 0.9981 GB Notification: Performance of SimCode: time 6.61e-07/0.84, allocations: 0 / 1.252 GB, free: 27.36 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03537/0.8754, allocations: 6.716 MB / 1.259 GB, free: 26.77 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.46, allocations: 7.781 kB / 1.259 GB, free: 26.77 MB / 0.9981 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 50 --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