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.001811/0.001811, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002338/0.002338, allocations: 216.2 kB / 22.26 MB, free: 5.113 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.535/1.535, allocations: 230.6 MB / 256 MB, free: 8.012 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.767/2.767, allocations: 476.7 MB / 0.7707 GB, free: 4.27 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="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: 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.002018/0.002018, allocations: 68.2 kB / 1.117 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3018, allocations: 169.9 MB / 1.283 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005412/0.3072, allocations: 3.202 MB / 1.286 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003365/0.3106, allocations: 2.048 MB / 1.288 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001877/0.3107, allocations: 4 kB / 1.288 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001/0.3117, allocations: 309.2 kB / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005205/0.3123, allocations: 199 kB / 1.289 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00068/0.3129, allocations: 259.2 kB / 1.289 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004592/0.3134, allocations: 315 kB / 1.29 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003188/0.3137, allocations: 149.1 kB / 1.29 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002695/0.314, allocations: 139.5 kB / 1.29 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003275/0.3143, allocations: 163.4 kB / 1.29 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.206e-05/0.3144, allocations: 24 kB / 1.29 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007039/0.3151, allocations: 419.2 kB / 1.29 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.3152, allocations: 83.8 kB / 1.29 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.3153, allocations: 119.4 kB / 1.291 GB, free: 4.34 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007952/0.3161, allocations: 0.4943 MB / 1.291 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3161, allocations: 4 kB / 1.291 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3161, allocations: 4 kB / 1.291 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.3161, allocations: 0 / 1.291 GB, free: 3.836 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.001001/0.3171, allocations: 0.4932 MB / 1.292 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.3172, allocations: 8.031 kB / 1.292 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.124e-05/0.3172, allocations: 62.66 kB / 1.292 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008842/0.3181, allocations: 112.7 kB / 1.292 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003969/0.3185, allocations: 204.4 kB / 1.292 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.3185, allocations: 12.81 kB / 1.292 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.057e-05/0.3186, allocations: 20.38 kB / 1.292 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005987/0.3192, allocations: 356.8 kB / 1.292 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.3192, allocations: 0 / 1.292 GB, free: 2.5 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.212e-05/0.3192, allocations: 15.94 kB / 1.292 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.707e-05/0.3193, allocations: 20.42 kB / 1.292 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005124/0.3198, allocations: 301.4 kB / 1.293 GB, free: 2.168 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002314/0.3221, allocations: 1.624 MB / 1.294 GB, free: 412 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004568/0.3226, allocations: 245 kB / 1.294 GB, free: 148 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/0.3227, allocations: 101.6 kB / 1.295 GB, free: 40 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.029e-05/0.3228, allocations: 12.27 kB / 1.295 GB, free: 28 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.345e-05/0.3229, allocations: 38.56 kB / 1.295 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.3229, allocations: 0 / 1.295 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23): time 0.002482/0.3253, allocations: 0.9025 MB / 1.295 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/0.3254, allocations: 89.08 kB / 1.296 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/0.3256, allocations: 211.8 kB / 1.296 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.3257, allocations: 33.7 kB / 1.296 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.3258, allocations: 168.4 kB / 1.296 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.456e-05/0.3259, allocations: 79.33 kB / 1.296 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.326, allocations: 69.64 kB / 1.296 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.3261, allocations: 326.8 kB / 1.296 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/0.3263, allocations: 131.9 kB / 1.297 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000271/0.3266, allocations: 217.2 kB / 1.297 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005101/0.3271, allocations: 364.1 kB / 1.297 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.3271, allocations: 4 kB / 1.297 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009114/0.328, allocations: 0.5038 MB / 1.298 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.3281, allocations: 8.312 kB / 1.298 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.3281, allocations: 4 kB / 1.298 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005409/0.3286, allocations: 159.2 kB / 1.298 GB, free: 12.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002652/0.3289, allocations: 55.91 kB / 1.298 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003411/0.3323, allocations: 3.988 MB / 1.302 GB, free: 8.262 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.3325, allocations: 23.95 kB / 1.302 GB, free: 8.238 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.728e-05/0.3325, allocations: 12 kB / 1.302 GB, free: 8.227 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.0002072/0.3327, allocations: 173.8 kB / 1.302 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.341e-05/0.3328, allocations: 19.86 kB / 1.302 GB, free: 8.027 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008777/0.3337, allocations: 466.7 kB / 1.302 GB, free: 7.551 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.3337, allocations: 7.984 kB / 1.302 GB, free: 7.543 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.279e-06/0.3337, allocations: 4 kB / 1.302 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3337, allocations: 0 / 1.302 GB, free: 7.539 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001623/0.3353, allocations: 0.9662 MB / 1.303 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.3353, allocations: 4 kB / 1.303 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.3354, allocations: 36.02 kB / 1.303 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003982/0.3358, allocations: 151.4 kB / 1.303 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.084e-05/0.3359, allocations: 8 kB / 1.303 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003151/0.339, allocations: 3.96 MB / 1.307 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.339, allocations: 0 / 1.307 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008542/0.3399, allocations: 0.6178 MB / 1.308 GB, free: 1.371 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.34, allocations: 51.81 kB / 1.308 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.135e-05/0.34, allocations: 11.95 kB / 1.308 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/0.3403, allocations: 19.98 kB / 1.308 GB, free: 1.289 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.697e-05/0.3403, allocations: 27.89 kB / 1.308 GB, free: 1.262 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.3403, allocations: 8 kB / 1.308 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001753/0.3405, allocations: 153.5 kB / 1.308 GB, free: 1.105 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3405, allocations: 0 / 1.308 GB, free: 1.105 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005879/0.3411, allocations: 103.9 kB / 1.308 GB, free: 1.004 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.00141/0.3425, allocations: 1.201 MB / 1.309 GB, free: 15.74 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001015/0.3435, allocations: 0.5639 MB / 1.31 GB, free: 15.15 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.3435, allocations: 64 / 1.31 GB, free: 15.15 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005404/0.3441, allocations: 401.1 kB / 1.31 GB, free: 14.73 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005211/0.3446, allocations: 39.97 kB / 1.31 GB, free: 14.69 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00477/0.3494, allocations: 3.32 MB / 1.314 GB, free: 11.15 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004854/0.3499, allocations: 0.7792 MB / 1.314 GB, free: 10.35 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001796/0.35, allocations: 62.22 kB / 1.315 GB, free: 10.29 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.3502, allocations: 75.41 kB / 1.315 GB, free: 10.21 MB / 1.014 GB Notification: Performance of SimCode: time 8.32e-07/0.3502, allocations: 0 / 1.315 GB, free: 10.21 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04102/0.3912, allocations: 7.135 MB / 1.322 GB, free: 3.254 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/13.21, allocations: 4.062 kB / 1.322 GB, free: 3.25 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: 19.740942005999386]