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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00184/0.00184, allocations: 109.1 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002101/0.002101, allocations: 196.5 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 225.6 MB / 247.8 MB, free: 13.92 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.73/2.73, allocations: 476.7 MB / 0.7611 GB, free: 11.28 MB / 0.6231 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002713/0.002713, allocations: 63.89 kB / 1.104 GB, free: 9.281 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7935/0.7962, allocations: 168.7 MB / 1.269 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005607/0.8018, allocations: 3.117 MB / 1.272 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003708/0.8055, allocations: 1.941 MB / 1.274 GB, free: 228 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002078/0.8057, allocations: 7.938 kB / 1.274 GB, free: 220 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.8068, allocations: 289.8 kB / 1.274 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006251/0.8075, allocations: 195.1 kB / 1.274 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007513/0.8082, allocations: 239.2 kB / 1.274 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005038/0.8087, allocations: 330.9 kB / 1.275 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003557/0.8091, allocations: 145 kB / 1.275 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002671/0.8093, allocations: 135.5 kB / 1.275 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003855/0.8097, allocations: 171.4 kB / 1.275 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.245e-05/0.8098, allocations: 24 kB / 1.275 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007289/0.8105, allocations: 403.2 kB / 1.276 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.8106, allocations: 87.73 kB / 1.276 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001646/0.8108, allocations: 127.4 kB / 1.276 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008796/0.8117, allocations: 490.3 kB / 1.276 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.8117, allocations: 0 / 1.276 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.242e-06/0.8117, allocations: 0 / 1.276 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.407e-06/0.8117, allocations: 0 / 1.276 GB, free: 13.63 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.00113/0.8128, allocations: 0.5685 MB / 1.277 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.8129, allocations: 8.031 kB / 1.277 GB, free: 13 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.932e-05/0.813, allocations: 58.73 kB / 1.277 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000944/0.8139, allocations: 120.6 kB / 1.277 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004817/0.8144, allocations: 264.8 kB / 1.277 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.8144, allocations: 24.75 kB / 1.277 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.175e-05/0.8144, allocations: 16.38 kB / 1.277 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006193/0.8151, allocations: 349.3 kB / 1.278 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.8151, allocations: 0 / 1.278 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.122e-05/0.8151, allocations: 8 kB / 1.278 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.038e-05/0.8152, allocations: 28.36 kB / 1.278 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005173/0.8157, allocations: 293.5 kB / 1.278 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002558/0.8182, allocations: 1.734 MB / 1.28 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005483/0.8188, allocations: 322.1 kB / 1.28 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/0.819, allocations: 105.6 kB / 1.28 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001449/0.8191, allocations: 85.09 kB / 1.28 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.449e-05/0.8192, allocations: 42.5 kB / 1.28 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.984e-06/0.8192, allocations: 0 / 1.28 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23): time 0.002692/0.8219, allocations: 0.9707 MB / 1.281 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.843e-05/0.8219, allocations: 85.05 kB / 1.281 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002643/0.8222, allocations: 215.8 kB / 1.281 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.8222, allocations: 33.64 kB / 1.281 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.8224, allocations: 172.5 kB / 1.282 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.875e-05/0.8225, allocations: 87.27 kB / 1.282 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.8226, allocations: 57.7 kB / 1.282 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.8227, allocations: 334.8 kB / 1.282 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002153/0.823, allocations: 127.9 kB / 1.282 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002918/0.8232, allocations: 213.2 kB / 1.282 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005253/0.8238, allocations: 363.8 kB / 1.283 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.8238, allocations: 0 / 1.283 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000957/0.8247, allocations: 0.5166 MB / 1.283 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.8248, allocations: 4 kB / 1.283 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.8248, allocations: 4 kB / 1.283 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005491/0.8253, allocations: 151.5 kB / 1.283 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000257/0.8256, allocations: 55.91 kB / 1.283 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003871/0.8294, allocations: 4.194 MB / 1.287 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002183/0.8297, allocations: 15.98 kB / 1.287 GB, free: 1.199 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.813e-05/0.8297, allocations: 12 kB / 1.287 GB, free: 1.188 MB / 0.9825 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.0002149/0.8299, allocations: 165.7 kB / 1.288 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.719e-05/0.83, allocations: 27.92 kB / 1.288 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009274/0.8309, allocations: 475.8 kB / 1.288 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.8309, allocations: 0 / 1.288 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.8309, allocations: 11.97 kB / 1.288 GB, free: 0.4961 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.8309, allocations: 4 kB / 1.288 GB, free: 0.4922 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001711/0.8326, allocations: 1.002 MB / 1.289 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/0.8326, allocations: 4 kB / 1.289 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001384/0.8328, allocations: 35.91 kB / 1.289 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004353/0.8332, allocations: 139.6 kB / 1.289 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/0.8332, allocations: 16 kB / 1.289 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003768/0.837, allocations: 4.155 MB / 1.293 GB, free: 10.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/0.837, allocations: 11.95 kB / 1.293 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000922/0.8379, allocations: 0.6172 MB / 1.294 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001716/0.8381, allocations: 124.9 kB / 1.294 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/0.8381, allocations: 11.98 kB / 1.294 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.8384, allocations: 15.98 kB / 1.294 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.363e-05/0.8384, allocations: 27.91 kB / 1.294 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.8385, allocations: 12 kB / 1.294 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001647/0.8386, allocations: 153.5 kB / 1.294 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.8386, allocations: 0 / 1.294 GB, free: 9.672 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005713/0.8392, allocations: 91.92 kB / 1.294 GB, free: 9.582 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.001326/0.8405, allocations: 1.203 MB / 1.296 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001102/0.8416, allocations: 0.5708 MB / 1.296 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.8416, allocations: 0 / 1.296 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005749/0.8422, allocations: 394.1 kB / 1.296 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005936/0.8428, allocations: 48.7 kB / 1.297 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004834/0.8476, allocations: 3.308 MB / 1.3 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005532/0.8482, allocations: 0.7831 MB / 1.301 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001842/0.8484, allocations: 58.19 kB / 1.301 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.8485, allocations: 71.41 kB / 1.301 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of SimCode: time 1.443e-06/0.8485, allocations: 0 / 1.301 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04007/0.8886, allocations: 6.763 MB / 1.307 GB, free: 12.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/13.23, allocations: 8.062 kB / 1.307 GB, free: 12.19 MB / 1.014 GB " [Timeout remaining time 287] (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_2/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.20332335308194]