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.001472/0.001472, allocations: 110.4 kB / 19.73 MB, free: 2.242 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.001474/0.001474, allocations: 220 kB / 23.05 MB, free: 5.074 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.781/2.781, allocations: 476.7 MB / 0.7714 GB, free: 4.301 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="cs",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.001972/0.001972, allocations: 65.19 kB / 1.118 GB, free: 39.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2982, allocations: 170 MB / 1.284 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.00513/0.3034, allocations: 3.2 MB / 1.287 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003319/0.3067, allocations: 2.048 MB / 1.289 GB, free: 6.363 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.3068, allocations: 11.88 kB / 1.289 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009437/0.3078, allocations: 300.6 kB / 1.29 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000492/0.3083, allocations: 195.1 kB / 1.29 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006819/0.3089, allocations: 247.3 kB / 1.29 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004474/0.3094, allocations: 323 kB / 1.29 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003259/0.3097, allocations: 149 kB / 1.29 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002389/0.31, allocations: 139.5 kB / 1.291 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002997/0.3103, allocations: 159.4 kB / 1.291 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.911e-05/0.3103, allocations: 24 kB / 1.291 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006941/0.311, allocations: 423.2 kB / 1.291 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001704/0.3112, allocations: 87.78 kB / 1.291 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001331/0.3113, allocations: 119.4 kB / 1.291 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000688/0.312, allocations: 0.4944 MB / 1.292 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.312, allocations: 0 / 1.292 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.182e-06/0.312, allocations: 0 / 1.292 GB, free: 3.73 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.312, allocations: 4 kB / 1.292 GB, free: 3.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.0008976/0.3129, allocations: 0.4932 MB / 1.292 GB, free: 3.199 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.3129, allocations: 11.97 kB / 1.292 GB, free: 3.188 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.977e-05/0.313, allocations: 12.62 kB / 1.292 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.483e-05/0.313, allocations: 62.7 kB / 1.292 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008164/0.3138, allocations: 108.7 kB / 1.292 GB, free: 3 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003395/0.3142, allocations: 206.1 kB / 1.293 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.3142, allocations: 16.8 kB / 1.293 GB, free: 2.758 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.31e-05/0.3142, allocations: 20.38 kB / 1.293 GB, free: 2.738 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005532/0.3148, allocations: 352.6 kB / 1.293 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.3148, allocations: 3.938 kB / 1.293 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.153e-05/0.3148, allocations: 12 kB / 1.293 GB, free: 2.359 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.26e-05/0.3149, allocations: 20.42 kB / 1.293 GB, free: 2.34 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000482/0.3154, allocations: 297.5 kB / 1.293 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002209/0.3176, allocations: 1.627 MB / 1.295 GB, free: 280 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004622/0.318, allocations: 241 kB / 1.295 GB, free: 20 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/0.3182, allocations: 101.7 kB / 1.295 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.13e-05/0.3183, allocations: 12.28 kB / 1.295 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.3183, allocations: 38.5 kB / 1.295 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.3183, allocations: 0 / 1.295 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.002511/0.3208, allocations: 0.8964 MB / 1.296 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.774e-05/0.3209, allocations: 88.98 kB / 1.296 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002448/0.3211, allocations: 215.8 kB / 1.296 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.474e-05/0.3212, allocations: 29.7 kB / 1.297 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.3213, allocations: 176.4 kB / 1.297 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.729e-05/0.3214, allocations: 79.34 kB / 1.297 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.3215, allocations: 69.64 kB / 1.297 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.3216, allocations: 326.8 kB / 1.297 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002119/0.3218, allocations: 131.9 kB / 1.297 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00027/0.3221, allocations: 209.2 kB / 1.297 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005079/0.3226, allocations: 371.6 kB / 1.298 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.3226, allocations: 0 / 1.298 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009321/0.3236, allocations: 0.5118 MB / 1.298 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.3236, allocations: 8 kB / 1.298 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.3236, allocations: 4 kB / 1.298 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005595/0.3241, allocations: 155.3 kB / 1.298 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.3244, allocations: 51.97 kB / 1.299 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003406/0.3278, allocations: 3.984 MB / 1.302 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002298/0.328, allocations: 20.05 kB / 1.302 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.187e-05/0.3281, allocations: 16 kB / 1.302 GB, free: 8.105 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.0002094/0.3283, allocations: 169.6 kB / 1.303 GB, free: 7.93 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.254e-05/0.3284, allocations: 19.95 kB / 1.303 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009508/0.3293, allocations: 486.5 kB / 1.303 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.3293, allocations: 0 / 1.303 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.3293, allocations: 4 kB / 1.303 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.3293, allocations: 0 / 1.303 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001646/0.331, allocations: 0.9661 MB / 1.304 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.331, allocations: 7.938 kB / 1.304 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.3311, allocations: 35.92 kB / 1.304 GB, free: 6.316 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004126/0.3315, allocations: 139.3 kB / 1.304 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.3315, allocations: 12 kB / 1.304 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003224/0.3348, allocations: 3.96 MB / 1.308 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.3348, allocations: 4 kB / 1.308 GB, free: 1.914 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009128/0.3357, allocations: 0.6178 MB / 1.309 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/0.3358, allocations: 51.81 kB / 1.309 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.898e-05/0.3358, allocations: 11.95 kB / 1.309 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002307/0.3361, allocations: 15.98 kB / 1.309 GB, free: 1.164 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.519e-05/0.3361, allocations: 27.89 kB / 1.309 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.497e-05/0.3362, allocations: 16 kB / 1.309 GB, free: 1.121 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001605/0.3363, allocations: 153.5 kB / 1.309 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3363, allocations: 0 / 1.309 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000566/0.3369, allocations: 107.8 kB / 1.309 GB, free: 0.8672 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.001289/0.3382, allocations: 1.189 MB / 1.31 GB, free: 15.61 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0009864/0.3392, allocations: 0.5713 MB / 1.311 GB, free: 15.02 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.3392, allocations: 4 kB / 1.311 GB, free: 15.01 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005438/0.3397, allocations: 390.1 kB / 1.311 GB, free: 14.61 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005146/0.3402, allocations: 42.95 kB / 1.311 GB, free: 14.57 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004548/0.3448, allocations: 3.341 MB / 1.314 GB, free: 11.01 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004326/0.3452, allocations: 0.7753 MB / 1.315 GB, free: 10.21 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001863/0.3454, allocations: 58.23 kB / 1.315 GB, free: 10.16 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.3455, allocations: 75.41 kB / 1.315 GB, free: 10.08 MB / 1.014 GB Notification: Performance of SimCode: time 5.91e-07/0.3455, allocations: 0 / 1.315 GB, free: 10.08 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03486/0.3804, allocations: 7.15 MB / 1.322 GB, free: 3.105 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.13/13.51, allocations: 21.17 kB / 1.322 GB, free: 3.09 MB / 1.014 GB " [Timeout remaining time 286] (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 --stepSize=0.0004 --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) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.046719896956347]