Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001315/0.001315, 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.001465/0.001465, allocations: 210.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.446/1.446, allocations: 230.6 MB / 256 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.173/3.173, allocations: 0.5107 GB / 0.8158 GB, free: 17.93 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_latest_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.002057/0.002057, allocations: 67.23 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3412, allocations: 181.9 MB / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005203/0.3464, allocations: 3.065 MB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003475/0.3498, allocations: 1.889 MB / 1.368 GB, free: 9.152 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001342/0.35, allocations: 7.938 kB / 1.368 GB, free: 9.145 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0009395/0.3509, allocations: 279 kB / 1.368 GB, free: 8.871 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004921/0.3514, allocations: 195.1 kB / 1.369 GB, free: 8.68 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007173/0.3521, allocations: 255.7 kB / 1.369 GB, free: 8.43 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004447/0.3526, allocations: 326.9 kB / 1.369 GB, free: 8.109 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003518/0.3529, allocations: 153.1 kB / 1.369 GB, free: 7.953 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002666/0.3532, allocations: 139.5 kB / 1.37 GB, free: 7.816 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002934/0.3535, allocations: 143.5 kB / 1.37 GB, free: 7.676 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.894e-05/0.3535, allocations: 20 kB / 1.37 GB, free: 7.656 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006906/0.3542, allocations: 375.2 kB / 1.37 GB, free: 7.289 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.3543, allocations: 91.73 kB / 1.37 GB, free: 7.199 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.3545, allocations: 107.5 kB / 1.37 GB, free: 7.094 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00071/0.3552, allocations: 494.3 kB / 1.371 GB, free: 6.609 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3552, allocations: 4 kB / 1.371 GB, free: 6.605 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3552, allocations: 0 / 1.371 GB, free: 6.605 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.098e-05/0.3552, allocations: 0 / 1.371 GB, free: 6.605 MB / 1.061 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.0009194/0.3561, allocations: 0.4971 MB / 1.371 GB, free: 6.078 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.3561, allocations: 8.031 kB / 1.371 GB, free: 6.07 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.385e-05/0.3562, allocations: 58.73 kB / 1.371 GB, free: 6.004 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008372/0.357, allocations: 112.6 kB / 1.371 GB, free: 5.895 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003924/0.3574, allocations: 206.1 kB / 1.372 GB, free: 5.668 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.3575, allocations: 16.81 kB / 1.372 GB, free: 5.652 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.051e-05/0.3575, allocations: 16.38 kB / 1.372 GB, free: 5.637 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006153/0.3581, allocations: 408.2 kB / 1.372 GB, free: 5.207 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.3582, allocations: 0 / 1.372 GB, free: 5.207 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.679e-05/0.3582, allocations: 8 kB / 1.372 GB, free: 5.199 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.978e-05/0.3582, allocations: 28.41 kB / 1.372 GB, free: 5.168 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004868/0.3587, allocations: 297.4 kB / 1.372 GB, free: 4.879 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002167/0.3609, allocations: 1.276 MB / 1.374 GB, free: 3.535 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004835/0.3614, allocations: 247 kB / 1.374 GB, free: 3.277 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002058/0.3616, allocations: 105.6 kB / 1.374 GB, free: 3.168 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.854e-05/0.3617, allocations: 15.98 kB / 1.374 GB, free: 3.152 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.3617, allocations: 30.56 kB / 1.374 GB, free: 3.113 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.3617, allocations: 0 / 1.374 GB, free: 3.113 MB / 1.061 GB Notification: Performance of matching and sorting (n=23): time 0.002544/0.3642, allocations: 0.8967 MB / 1.375 GB, free: 2.199 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.604e-05/0.3643, allocations: 85.05 kB / 1.375 GB, free: 2.098 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002387/0.3645, allocations: 215.8 kB / 1.375 GB, free: 1.875 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.925e-05/0.3646, allocations: 33.7 kB / 1.375 GB, free: 1.836 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.3647, allocations: 176.5 kB / 1.375 GB, free: 1.656 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.038e-05/0.3648, allocations: 79.27 kB / 1.375 GB, free: 1.578 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.3649, allocations: 65.66 kB / 1.375 GB, free: 1.508 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.365, allocations: 330.8 kB / 1.376 GB, free: 1.176 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002162/0.3653, allocations: 131.9 kB / 1.376 GB, free: 1.047 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002997/0.3656, allocations: 209.2 kB / 1.376 GB, free: 0.8086 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005187/0.3661, allocations: 373.1 kB / 1.376 GB, free: 424 kB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.3661, allocations: 0 / 1.376 GB, free: 424 kB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009447/0.367, allocations: 0.5121 MB / 1.377 GB, free: 15.88 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.367, allocations: 10.5 kB / 1.377 GB, free: 15.87 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.367, allocations: 7.984 kB / 1.377 GB, free: 15.86 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005274/0.3676, allocations: 147.3 kB / 1.377 GB, free: 15.71 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002637/0.3678, allocations: 64.16 kB / 1.377 GB, free: 15.64 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003546/0.3714, allocations: 3.972 MB / 1.381 GB, free: 11.39 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002119/0.3716, allocations: 15.98 kB / 1.381 GB, free: 11.38 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/0.3716, allocations: 12 kB / 1.381 GB, free: 11.36 MB / 1.076 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.0002247/0.3718, allocations: 173.1 kB / 1.381 GB, free: 11.19 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.315e-05/0.3719, allocations: 19.86 kB / 1.381 GB, free: 11.17 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009435/0.3729, allocations: 475.5 kB / 1.382 GB, free: 10.69 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.3729, allocations: 4 kB / 1.382 GB, free: 10.68 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.3729, allocations: 0 / 1.382 GB, free: 10.68 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.3729, allocations: 7.922 kB / 1.382 GB, free: 10.68 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001754/0.3746, allocations: 0.9443 MB / 1.383 GB, free: 9.645 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.3746, allocations: 4 kB / 1.383 GB, free: 9.641 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.3748, allocations: 28.08 kB / 1.383 GB, free: 9.613 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004156/0.3752, allocations: 147.2 kB / 1.383 GB, free: 9.457 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.3752, allocations: 8.25 kB / 1.383 GB, free: 9.449 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003235/0.3784, allocations: 3.941 MB / 1.387 GB, free: 5.227 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.3784, allocations: 3.938 kB / 1.387 GB, free: 5.223 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000898/0.3793, allocations: 0.6178 MB / 1.387 GB, free: 4.551 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.3795, allocations: 55.77 kB / 1.387 GB, free: 4.496 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.613e-05/0.3795, allocations: 8 kB / 1.387 GB, free: 4.488 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/0.3797, allocations: 15.92 kB / 1.387 GB, free: 4.473 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.577e-05/0.3798, allocations: 31.89 kB / 1.387 GB, free: 4.441 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.3798, allocations: 12 kB / 1.387 GB, free: 4.43 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000158/0.38, allocations: 160.2 kB / 1.388 GB, free: 4.273 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/0.38, allocations: 0 / 1.388 GB, free: 4.273 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005452/0.3805, allocations: 91.92 kB / 1.388 GB, free: 4.184 MB / 1.076 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.001357/0.3819, allocations: 1.205 MB / 1.389 GB, free: 2.914 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001039/0.3829, allocations: 0.5672 MB / 1.389 GB, free: 2.324 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3829, allocations: 0 / 1.389 GB, free: 2.324 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005628/0.3835, allocations: 390.3 kB / 1.39 GB, free: 1.918 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005365/0.384, allocations: 45.17 kB / 1.39 GB, free: 1.875 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004802/0.3888, allocations: 3.341 MB / 1.393 GB, free: 14.32 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.3891, allocations: 177 kB / 1.393 GB, free: 14.12 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0001821/0.3893, allocations: 58.25 kB / 1.393 GB, free: 14.07 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.3894, allocations: 71.41 kB / 1.393 GB, free: 14 MB / 1.092 GB Notification: Performance of SimCode: time 6.81e-07/0.3894, allocations: 0 / 1.393 GB, free: 14 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04153/0.4309, allocations: 7.34 MB / 1.4 GB, free: 6.848 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/13.33, allocations: 11.36 kB / 1.4 GB, free: 6.84 MB / 1.092 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.917180894874036]