Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001683/0.001683, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002192/0.002192, allocations: 212.2 kB / 22.24 MB, free: 5.242 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.477/1.477, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.198/3.198, allocations: 0.4892 GB / 0.7943 GB, free: 35.36 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_12_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.002119/0.002119, allocations: 63.03 kB / 1.153 GB, free: 25.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3378, allocations: 176.1 MB / 1.325 GB, free: 2.391 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005252/0.3431, allocations: 3.06 MB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003564/0.3467, allocations: 1.893 MB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002022/0.3469, allocations: 7.938 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001067/0.3479, allocations: 274.9 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005865/0.3485, allocations: 195.1 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00073/0.3492, allocations: 251.2 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004902/0.3497, allocations: 326.9 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000373/0.3501, allocations: 153.1 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000314/0.3504, allocations: 131.6 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003696/0.3508, allocations: 159.3 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.134e-05/0.3508, allocations: 23.94 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007401/0.3516, allocations: 375.2 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.3517, allocations: 87.73 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.3518, allocations: 95.58 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007597/0.3526, allocations: 0.4944 MB / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3526, allocations: 0 / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.894e-06/0.3526, allocations: 0 / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.395e-05/0.3526, allocations: 0 / 1.332 GB, free: 10.87 MB / 1.029 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.0009732/0.3536, allocations: 0.4971 MB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/0.3537, allocations: 12.03 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.824e-05/0.3537, allocations: 54.73 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008423/0.3546, allocations: 112.6 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003867/0.355, allocations: 214 kB / 1.333 GB, free: 9.926 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.355, allocations: 16.81 kB / 1.333 GB, free: 9.91 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.664e-05/0.355, allocations: 16.38 kB / 1.333 GB, free: 9.895 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006223/0.3556, allocations: 412.2 kB / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.3557, allocations: 0 / 1.334 GB, free: 9.453 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/0.3557, allocations: 11.98 kB / 1.334 GB, free: 9.441 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.206e-05/0.3557, allocations: 24.42 kB / 1.334 GB, free: 9.418 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000482/0.3562, allocations: 289.5 kB / 1.334 GB, free: 9.137 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002161/0.3584, allocations: 1.272 MB / 1.335 GB, free: 7.797 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004927/0.3589, allocations: 241.1 kB / 1.335 GB, free: 7.543 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/0.359, allocations: 105.5 kB / 1.336 GB, free: 7.434 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.607e-05/0.3591, allocations: 15.98 kB / 1.336 GB, free: 7.418 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.3591, allocations: 34.56 kB / 1.336 GB, free: 7.375 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.3591, allocations: 0 / 1.336 GB, free: 7.375 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.002498/0.3616, allocations: 0.9044 MB / 1.336 GB, free: 6.453 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.202e-05/0.3617, allocations: 85.05 kB / 1.337 GB, free: 6.352 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002511/0.362, allocations: 219.6 kB / 1.337 GB, free: 6.125 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.238e-05/0.362, allocations: 29.7 kB / 1.337 GB, free: 6.09 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.3621, allocations: 172.5 kB / 1.337 GB, free: 5.914 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.649e-05/0.3622, allocations: 83.27 kB / 1.337 GB, free: 5.832 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.3623, allocations: 65.69 kB / 1.337 GB, free: 5.762 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.3625, allocations: 334.8 kB / 1.337 GB, free: 5.426 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002078/0.3627, allocations: 127.9 kB / 1.338 GB, free: 5.301 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002753/0.3629, allocations: 209.2 kB / 1.338 GB, free: 5.062 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005191/0.3635, allocations: 371.1 kB / 1.338 GB, free: 4.668 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3635, allocations: 0 / 1.338 GB, free: 4.668 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009071/0.3644, allocations: 0.5005 MB / 1.339 GB, free: 4.148 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3644, allocations: 12.25 kB / 1.339 GB, free: 4.137 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.3644, allocations: 4 kB / 1.339 GB, free: 4.133 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005342/0.3649, allocations: 155.2 kB / 1.339 GB, free: 3.969 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002613/0.3652, allocations: 63.91 kB / 1.339 GB, free: 3.906 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003515/0.3687, allocations: 3.971 MB / 1.343 GB, free: 15.65 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/0.3689, allocations: 24.38 kB / 1.343 GB, free: 15.63 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.371e-05/0.369, allocations: 16 kB / 1.343 GB, free: 15.61 MB / 1.045 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.0002146/0.3692, allocations: 170.2 kB / 1.343 GB, free: 15.44 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.069e-05/0.3693, allocations: 19.86 kB / 1.343 GB, free: 15.42 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009558/0.3702, allocations: 476.8 kB / 1.343 GB, free: 14.94 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.3702, allocations: 0 / 1.343 GB, free: 14.94 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.3702, allocations: 4 kB / 1.343 GB, free: 14.93 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.3702, allocations: 3.984 kB / 1.343 GB, free: 14.93 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001671/0.3719, allocations: 0.9326 MB / 1.344 GB, free: 13.91 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.3719, allocations: 256 / 1.344 GB, free: 13.91 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/0.372, allocations: 39.92 kB / 1.344 GB, free: 13.87 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004266/0.3725, allocations: 135.3 kB / 1.344 GB, free: 13.73 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.3725, allocations: 8 kB / 1.344 GB, free: 13.72 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003183/0.3757, allocations: 3.945 MB / 1.348 GB, free: 9.492 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.3757, allocations: 4.031 kB / 1.348 GB, free: 9.488 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000865/0.3765, allocations: 0.6269 MB / 1.349 GB, free: 8.812 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001384/0.3767, allocations: 55.77 kB / 1.349 GB, free: 8.758 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.467e-05/0.3767, allocations: 4 kB / 1.349 GB, free: 8.754 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/0.3769, allocations: 19.98 kB / 1.349 GB, free: 8.734 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.182e-05/0.377, allocations: 27.89 kB / 1.349 GB, free: 8.707 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.101e-05/0.377, allocations: 12 kB / 1.349 GB, free: 8.695 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001634/0.3772, allocations: 157.5 kB / 1.349 GB, free: 8.543 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3772, allocations: 0 / 1.349 GB, free: 8.543 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005225/0.3777, allocations: 91.92 kB / 1.349 GB, free: 8.453 MB / 1.045 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.001275/0.379, allocations: 1.195 MB / 1.35 GB, free: 7.191 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.001002/0.38, allocations: 0.5714 MB / 1.351 GB, free: 6.594 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.38, allocations: 0 / 1.351 GB, free: 6.594 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0005581/0.3805, allocations: 393 kB / 1.351 GB, free: 6.184 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005147/0.3811, allocations: 50.58 kB / 1.351 GB, free: 6.137 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004614/0.3857, allocations: 3.332 MB / 1.355 GB, free: 2.598 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.3859, allocations: 173 kB / 1.355 GB, free: 2.406 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001867/0.3861, allocations: 66.25 kB / 1.355 GB, free: 2.34 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.3862, allocations: 79.39 kB / 1.355 GB, free: 2.262 MB / 1.045 GB Notification: Performance of SimCode: time 9.32e-07/0.3862, allocations: 0 / 1.355 GB, free: 2.262 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04169/0.4279, allocations: 7.348 MB / 1.362 GB, free: 11.1 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.05/13.48, allocations: 5.438 kB / 1.362 GB, free: 11.1 MB / 1.061 GB " [Timeout remaining time 286] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.134259444195777]