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.001335/0.001335, allocations: 113 kB / 18.94 MB, free: 2.934 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.001787/0.001787, allocations: 209.5 kB / 22.25 MB, free: 5.086 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.416/1.416, allocations: 230.6 MB / 256 MB, free: 8.008 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.068/3.068, allocations: 0.49 GB / 0.7951 GB, free: 33.28 MB / 0.6231 GB " [Timeout remaining time 177] 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.003032/0.003032, allocations: 69.5 kB / 1.154 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3204, allocations: 176.1 MB / 1.326 GB, free: 1.977 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.005346/0.3257, allocations: 3.194 MB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003412/0.3291, allocations: 2.053 MB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001939/0.3293, allocations: 15.88 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.3303, allocations: 282.9 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005637/0.3309, allocations: 195.1 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006919/0.3316, allocations: 259.2 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004334/0.332, allocations: 322.9 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003202/0.3323, allocations: 153.1 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002316/0.3325, allocations: 143.5 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003051/0.3329, allocations: 151.5 kB / 1.332 GB, free: 11.21 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.606e-05/0.3329, allocations: 20 kB / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007162/0.3336, allocations: 427.1 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.3337, allocations: 83.8 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001512/0.3339, allocations: 127.3 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007092/0.3346, allocations: 498.3 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3346, allocations: 4 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.834e-06/0.3346, allocations: 0 / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.3346, allocations: 0 / 1.334 GB, free: 10.07 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.000939/0.3355, allocations: 0.501 MB / 1.334 GB, free: 9.539 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.3356, allocations: 8.031 kB / 1.334 GB, free: 9.531 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.655e-05/0.3356, allocations: 54.73 kB / 1.334 GB, free: 9.469 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000804/0.3364, allocations: 108.7 kB / 1.334 GB, free: 9.363 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000354/0.3368, allocations: 214.1 kB / 1.334 GB, free: 9.129 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.3368, allocations: 12.81 kB / 1.334 GB, free: 9.117 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.835e-05/0.3369, allocations: 20.38 kB / 1.334 GB, free: 9.098 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005415/0.3374, allocations: 356.8 kB / 1.335 GB, free: 8.727 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.3374, allocations: 0 / 1.335 GB, free: 8.727 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.713e-05/0.3374, allocations: 8 kB / 1.335 GB, free: 8.719 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.872e-05/0.3375, allocations: 24.42 kB / 1.335 GB, free: 8.695 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004588/0.3379, allocations: 301.4 kB / 1.335 GB, free: 8.402 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002232/0.3402, allocations: 1.635 MB / 1.337 GB, free: 6.625 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004649/0.3406, allocations: 242.1 kB / 1.337 GB, free: 6.371 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.3408, allocations: 101.6 kB / 1.337 GB, free: 6.266 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.055e-05/0.3409, allocations: 11.98 kB / 1.337 GB, free: 6.254 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.3409, allocations: 38.56 kB / 1.337 GB, free: 6.207 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.3409, allocations: 0 / 1.337 GB, free: 6.207 MB / 1.029 GB Notification: Performance of matching and sorting (n=23): time 0.002427/0.3433, allocations: 0.9086 MB / 1.338 GB, free: 5.281 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.3434, allocations: 85.05 kB / 1.338 GB, free: 5.18 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002294/0.3436, allocations: 211.8 kB / 1.338 GB, free: 4.961 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.3437, allocations: 29.7 kB / 1.338 GB, free: 4.926 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.3438, allocations: 176.4 kB / 1.338 GB, free: 4.746 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.164e-05/0.3438, allocations: 83.33 kB / 1.339 GB, free: 4.664 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.3439, allocations: 61.66 kB / 1.339 GB, free: 4.598 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.3441, allocations: 330.8 kB / 1.339 GB, free: 4.266 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/0.3443, allocations: 127.9 kB / 1.339 GB, free: 4.141 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002666/0.3446, allocations: 217.2 kB / 1.339 GB, free: 3.895 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004855/0.345, allocations: 367.3 kB / 1.34 GB, free: 3.504 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.345, allocations: 0 / 1.34 GB, free: 3.504 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009154/0.346, allocations: 0.5069 MB / 1.34 GB, free: 2.98 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.346, allocations: 12.03 kB / 1.34 GB, free: 2.969 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.346, allocations: 0 / 1.34 GB, free: 2.969 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000537/0.3465, allocations: 155.2 kB / 1.34 GB, free: 2.805 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002563/0.3468, allocations: 55.91 kB / 1.34 GB, free: 2.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003365/0.3501, allocations: 3.991 MB / 1.344 GB, free: 14.48 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002231/0.3504, allocations: 19.97 kB / 1.344 GB, free: 14.46 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.925e-05/0.3504, allocations: 8 kB / 1.344 GB, free: 14.45 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.0002095/0.3506, allocations: 176 kB / 1.344 GB, free: 14.27 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.594e-05/0.3507, allocations: 19.86 kB / 1.344 GB, free: 14.25 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009183/0.3516, allocations: 474.6 kB / 1.345 GB, free: 13.77 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3516, allocations: 0 / 1.345 GB, free: 13.77 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.3516, allocations: 4 kB / 1.345 GB, free: 13.77 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3516, allocations: 0 / 1.345 GB, free: 13.77 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001688/0.3533, allocations: 0.9694 MB / 1.346 GB, free: 12.71 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.3533, allocations: 4 kB / 1.346 GB, free: 12.71 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.3535, allocations: 32.22 kB / 1.346 GB, free: 12.68 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004092/0.3539, allocations: 143.3 kB / 1.346 GB, free: 12.52 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.3539, allocations: 11.94 kB / 1.346 GB, free: 12.51 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003173/0.3571, allocations: 3.953 MB / 1.35 GB, free: 8.277 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.3571, allocations: 3.938 kB / 1.35 GB, free: 8.273 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00086/0.3579, allocations: 0.6233 MB / 1.35 GB, free: 7.598 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/0.3581, allocations: 51.81 kB / 1.351 GB, free: 7.547 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.547e-05/0.3581, allocations: 15.94 kB / 1.351 GB, free: 7.531 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.3583, allocations: 23.92 kB / 1.351 GB, free: 7.508 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.813e-05/0.3584, allocations: 19.97 kB / 1.351 GB, free: 7.488 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.035e-05/0.3584, allocations: 8 kB / 1.351 GB, free: 7.48 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001654/0.3586, allocations: 157.5 kB / 1.351 GB, free: 7.328 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3586, allocations: 4 kB / 1.351 GB, free: 7.324 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0005169/0.3591, allocations: 91.88 kB / 1.351 GB, free: 7.234 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.001242/0.3603, allocations: 1.205 MB / 1.352 GB, free: 5.965 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0009751/0.3613, allocations: 0.56 MB / 1.353 GB, free: 5.379 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.3613, allocations: 4.062 kB / 1.353 GB, free: 5.375 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0005528/0.3619, allocations: 393.1 kB / 1.353 GB, free: 4.965 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005203/0.3624, allocations: 42 kB / 1.353 GB, free: 4.926 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004614/0.367, allocations: 3.32 MB / 1.356 GB, free: 1.395 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004636/0.3675, allocations: 0.7868 MB / 1.357 GB, free: 0.582 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001833/0.3676, allocations: 58.23 kB / 1.357 GB, free: 0.5234 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.3678, allocations: 75.41 kB / 1.357 GB, free: 460 kB / 1.045 GB Notification: Performance of SimCode: time 1.202e-06/0.3678, allocations: 0 / 1.357 GB, free: 460 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05341/0.4212, allocations: 7.137 MB / 1.364 GB, free: 9.477 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/13.63, allocations: 8.047 kB / 1.364 GB, free: 9.473 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.4731222668197]