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.001329/0.001329, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001515/0.001515, allocations: 209.5 kB / 22.24 MB, free: 5.262 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.453/1.453, allocations: 230.6 MB / 256 MB, free: 7.75 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.7/2.7, allocations: 476 MB / 0.7699 GB, free: 4.727 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.002133/0.002133, allocations: 63.83 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2954, allocations: 170 MB / 1.283 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004925/0.3004, allocations: 3.062 MB / 1.286 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003342/0.3037, allocations: 1.881 MB / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001633/0.3039, allocations: 4 kB / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00101/0.3049, allocations: 282.8 kB / 1.288 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005201/0.3054, allocations: 195.1 kB / 1.288 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006956/0.3061, allocations: 259.2 kB / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004122/0.3065, allocations: 318.9 kB / 1.288 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003193/0.3068, allocations: 152.6 kB / 1.289 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002212/0.3071, allocations: 135.5 kB / 1.289 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002942/0.3074, allocations: 159.4 kB / 1.289 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.911e-05/0.3074, allocations: 20 kB / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005839/0.308, allocations: 383.3 kB / 1.289 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.3081, allocations: 87.73 kB / 1.289 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.3082, allocations: 95.58 kB / 1.289 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006372/0.3088, allocations: 0.4944 MB / 1.29 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3088, allocations: 0 / 1.29 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.412e-06/0.3088, allocations: 0 / 1.29 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.3088, allocations: 0 / 1.29 GB, free: 4.984 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.0009421/0.3098, allocations: 0.4893 MB / 1.29 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.3098, allocations: 8.031 kB / 1.29 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.371e-05/0.3099, allocations: 54.73 kB / 1.29 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008164/0.3107, allocations: 120.7 kB / 1.291 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000414/0.3111, allocations: 208.3 kB / 1.291 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.3111, allocations: 16.81 kB / 1.291 GB, free: 4.031 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.934e-05/0.3112, allocations: 16.38 kB / 1.291 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006013/0.3118, allocations: 408.2 kB / 1.291 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.3118, allocations: 0 / 1.291 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.799e-05/0.3118, allocations: 15.94 kB / 1.291 GB, free: 3.57 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.421e-05/0.3119, allocations: 24.42 kB / 1.291 GB, free: 3.547 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004738/0.3123, allocations: 293.5 kB / 1.291 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002088/0.3144, allocations: 1.279 MB / 1.293 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000469/0.3149, allocations: 237 kB / 1.293 GB, free: 1.66 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.3151, allocations: 104.4 kB / 1.293 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.49e-05/0.3151, allocations: 15.98 kB / 1.293 GB, free: 1.539 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/0.3152, allocations: 34.56 kB / 1.293 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.373e-06/0.3152, allocations: 0 / 1.293 GB, free: 1.496 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23): time 0.002494/0.3177, allocations: 0.9043 MB / 1.294 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.629e-05/0.3177, allocations: 85.05 kB / 1.294 GB, free: 484 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/0.318, allocations: 215.8 kB / 1.294 GB, free: 256 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.318, allocations: 37.62 kB / 1.294 GB, free: 212 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.3181, allocations: 168.5 kB / 1.294 GB, free: 40 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9e-05/0.3182, allocations: 87.34 kB / 1.295 GB, free: 15.95 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.3183, allocations: 57.7 kB / 1.295 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.3185, allocations: 330.8 kB / 1.295 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002108/0.3187, allocations: 136 kB / 1.295 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002713/0.319, allocations: 209.2 kB / 1.295 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004994/0.3195, allocations: 367.8 kB / 1.296 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3195, allocations: 8 kB / 1.296 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008984/0.3204, allocations: 0.5004 MB / 1.296 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.3204, allocations: 4 kB / 1.296 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.3204, allocations: 4 kB / 1.296 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005302/0.3209, allocations: 159.5 kB / 1.296 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.3212, allocations: 63.91 kB / 1.296 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003412/0.3246, allocations: 3.972 MB / 1.3 GB, free: 9.773 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.3248, allocations: 15.98 kB / 1.3 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.893e-05/0.3248, allocations: 16 kB / 1.3 GB, free: 9.742 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.0001995/0.325, allocations: 169.5 kB / 1.3 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.119e-05/0.3251, allocations: 31.8 kB / 1.3 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009361/0.326, allocations: 466.6 kB / 1.301 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.326, allocations: 4 kB / 1.301 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.3261, allocations: 11.98 kB / 1.301 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.3261, allocations: 0 / 1.301 GB, free: 9.051 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001666/0.3277, allocations: 0.9273 MB / 1.302 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.3277, allocations: 0 / 1.302 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.3279, allocations: 35.92 kB / 1.302 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004176/0.3283, allocations: 147.5 kB / 1.302 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.3283, allocations: 11.94 kB / 1.302 GB, free: 7.836 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003229/0.3315, allocations: 3.945 MB / 1.306 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.3315, allocations: 4 kB / 1.306 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008794/0.3324, allocations: 0.6177 MB / 1.306 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.3326, allocations: 51.77 kB / 1.306 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.587e-05/0.3326, allocations: 4.25 kB / 1.306 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/0.3328, allocations: 28.02 kB / 1.306 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.838e-05/0.3329, allocations: 27.89 kB / 1.307 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.116e-05/0.3329, allocations: 12 kB / 1.307 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001683/0.3331, allocations: 153.5 kB / 1.307 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.3331, allocations: 0 / 1.307 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005301/0.3336, allocations: 95.88 kB / 1.307 GB, free: 2.574 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.001312/0.3349, allocations: 1.204 MB / 1.308 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001003/0.3359, allocations: 0.5715 MB / 1.308 GB, free: 0.707 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.3359, allocations: 4.188 kB / 1.308 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005879/0.3365, allocations: 393.1 kB / 1.309 GB, free: 300 kB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005083/0.337, allocations: 35.98 kB / 1.309 GB, free: 264 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004497/0.3415, allocations: 3.334 MB / 1.312 GB, free: 12.71 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002101/0.3417, allocations: 165.2 kB / 1.312 GB, free: 12.53 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001865/0.3419, allocations: 58.25 kB / 1.312 GB, free: 12.47 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.342, allocations: 79.41 kB / 1.312 GB, free: 12.39 MB / 1.014 GB Notification: Performance of SimCode: time 5.51e-07/0.342, allocations: 0 / 1.312 GB, free: 12.39 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04095/0.383, allocations: 7.353 MB / 1.32 GB, free: 5.238 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.22/13.61, allocations: 5.156 kB / 1.32 GB, free: 5.234 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.04157283809036]