Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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.001295/0.001295, allocations: 99.75 kB / 18.95 MB, free: 2.68 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.001461/0.001461, allocations: 214.4 kB / 22.24 MB, free: 5.25 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.409/1.409, allocations: 230.6 MB / 256 MB, free: 7.793 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.023/3.023, allocations: 0.49 GB / 0.7951 GB, free: 35.58 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.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",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.002878/0.002878, allocations: 65.25 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.336/0.3389, allocations: 176.1 MB / 1.326 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006713/0.3456, allocations: 4.675 MB / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004269/0.3499, allocations: 2.44 MB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000315/0.3502, allocations: 35.62 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001252/0.3515, allocations: 399.7 kB / 1.333 GB, free: 9.953 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001026/0.3525, allocations: 477.6 kB / 1.334 GB, free: 9.484 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008787/0.3534, allocations: 396.3 kB / 1.334 GB, free: 9.098 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001148/0.3545, allocations: 0.9295 MB / 1.335 GB, free: 8.164 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005056/0.355, allocations: 322.6 kB / 1.335 GB, free: 7.84 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005347/0.3556, allocations: 358.6 kB / 1.336 GB, free: 7.488 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005518/0.3561, allocations: 370.3 kB / 1.336 GB, free: 7.125 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.574e-05/0.3562, allocations: 40 kB / 1.336 GB, free: 7.086 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006351/0.3568, allocations: 363.2 kB / 1.336 GB, free: 6.73 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002195/0.357, allocations: 183.4 kB / 1.337 GB, free: 6.551 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.00029/0.3573, allocations: 266.6 kB / 1.337 GB, free: 6.289 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00104/0.3584, allocations: 0.8987 MB / 1.338 GB, free: 5.387 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.3584, allocations: 0 / 1.338 GB, free: 5.387 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.512e-06/0.3584, allocations: 3.938 kB / 1.338 GB, free: 5.383 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.536e-05/0.3584, allocations: 4 kB / 1.338 GB, free: 5.379 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001492/0.3599, allocations: 0.8935 MB / 1.339 GB, free: 4.449 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.3599, allocations: 12.03 kB / 1.339 GB, free: 4.438 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001126/0.36, allocations: 90.64 kB / 1.339 GB, free: 4.34 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001284/0.3613, allocations: 208.2 kB / 1.339 GB, free: 4.137 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009261/0.3622, allocations: 488.8 kB / 1.339 GB, free: 3.637 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.517e-05/0.3623, allocations: 37.36 kB / 1.339 GB, free: 3.602 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.639e-05/0.3624, allocations: 48.36 kB / 1.339 GB, free: 3.555 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001267/0.3636, allocations: 0.9777 MB / 1.34 GB, free: 2.41 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/0.3637, allocations: 11.89 kB / 1.34 GB, free: 2.398 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.215e-05/0.3637, allocations: 20 kB / 1.34 GB, free: 2.379 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001007/0.3638, allocations: 64.95 kB / 1.34 GB, free: 2.316 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008959/0.3647, allocations: 0.5656 MB / 1.341 GB, free: 1.75 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004539/0.3693, allocations: 4.72 MB / 1.346 GB, free: 12.84 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006748/0.3699, allocations: 418.8 kB / 1.346 GB, free: 12.42 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003124/0.3702, allocations: 204.7 kB / 1.346 GB, free: 12.21 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.009e-05/0.3703, allocations: 4 kB / 1.346 GB, free: 12.21 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.3703, allocations: 38.56 kB / 1.346 GB, free: 12.16 MB / 1.045 GB Notification: Performance of pre-optimization done (n=32): time 1.743e-06/0.3703, allocations: 0 / 1.346 GB, free: 12.16 MB / 1.045 GB Notification: Performance of matching and sorting (n=33): time 0.002537/0.3728, allocations: 1.148 MB / 1.347 GB, free: 10.99 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.3729, allocations: 55.69 kB / 1.347 GB, free: 10.93 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005774/0.3735, allocations: 0.5184 MB / 1.348 GB, free: 10.4 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.032e-05/0.3735, allocations: 33.7 kB / 1.348 GB, free: 10.36 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002759/0.3738, allocations: 359.8 kB / 1.348 GB, free: 10 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.3739, allocations: 123 kB / 1.348 GB, free: 9.883 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001723/0.3741, allocations: 118.2 kB / 1.348 GB, free: 9.762 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000196/0.3743, allocations: 366.8 kB / 1.349 GB, free: 9.395 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003039/0.3746, allocations: 189.2 kB / 1.349 GB, free: 9.207 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005047/0.3751, allocations: 451.9 kB / 1.349 GB, free: 8.652 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000901/0.376, allocations: 0.6915 MB / 1.35 GB, free: 7.844 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.376, allocations: 4 kB / 1.35 GB, free: 7.84 MB / 1.045 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001391/0.3774, allocations: 0.8092 MB / 1.351 GB, free: 7.008 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.3774, allocations: 13.66 kB / 1.351 GB, free: 6.996 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.3774, allocations: 11.94 kB / 1.351 GB, free: 6.984 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005251/0.3779, allocations: 160.9 kB / 1.351 GB, free: 6.812 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004629/0.3784, allocations: 119.8 kB / 1.351 GB, free: 6.695 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003645/0.382, allocations: 4.03 MB / 1.355 GB, free: 2.32 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003869/0.3824, allocations: 31.97 kB / 1.355 GB, free: 2.289 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-05/0.3825, allocations: 28.31 kB / 1.355 GB, free: 2.262 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002726/0.3827, allocations: 221.4 kB / 1.355 GB, free: 2.035 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.958e-05/0.3828, allocations: 67.58 kB / 1.355 GB, free: 1.969 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/0.3839, allocations: 0.5972 MB / 1.356 GB, free: 1.348 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.3839, allocations: 0 / 1.356 GB, free: 1.348 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3839, allocations: 7.984 kB / 1.356 GB, free: 1.34 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3839, allocations: 0 / 1.356 GB, free: 1.34 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001889/0.3858, allocations: 1.187 MB / 1.357 GB, free: 68 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.3858, allocations: 4 kB / 1.357 GB, free: 64 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002551/0.3861, allocations: 59.89 kB / 1.357 GB, free: 4 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004448/0.3865, allocations: 144.1 kB / 1.357 GB, free: 15.85 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.871e-05/0.3865, allocations: 16.16 kB / 1.357 GB, free: 15.83 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003442/0.39, allocations: 4.006 MB / 1.361 GB, free: 11.48 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.064e-06/0.39, allocations: 7.969 kB / 1.361 GB, free: 11.47 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.3911, allocations: 0.7081 MB / 1.362 GB, free: 10.71 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000237/0.3913, allocations: 95.58 kB / 1.362 GB, free: 10.62 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.533e-05/0.3914, allocations: 8 kB / 1.362 GB, free: 10.61 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/0.3916, allocations: 24.12 kB / 1.362 GB, free: 10.59 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.796e-05/0.3917, allocations: 43.81 kB / 1.362 GB, free: 10.54 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.189e-05/0.3917, allocations: 8 kB / 1.362 GB, free: 10.54 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003834/0.3921, allocations: 338.8 kB / 1.363 GB, free: 10.21 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3921, allocations: 0 / 1.363 GB, free: 10.21 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006087/0.3927, allocations: 144 kB / 1.363 GB, free: 10.07 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001383/0.3941, allocations: 1.261 MB / 1.364 GB, free: 8.738 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00138/0.3955, allocations: 0.8588 MB / 1.365 GB, free: 7.836 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3955, allocations: 0 / 1.365 GB, free: 7.836 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0008375/0.3963, allocations: 0.58 MB / 1.365 GB, free: 7.211 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009417/0.3972, allocations: 210 kB / 1.366 GB, free: 7.016 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006549/0.4038, allocations: 5.167 MB / 1.371 GB, free: 1.453 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.4041, allocations: 316 kB / 1.371 GB, free: 1.117 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003239/0.4044, allocations: 117.3 kB / 1.371 GB, free: 1 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002634/0.4047, allocations: 195.4 kB / 1.371 GB, free: 0.8086 MB / 1.061 GB Notification: Performance of SimCode: time 5.21e-07/0.4047, allocations: 0 / 1.371 GB, free: 0.8086 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0549/0.4596, allocations: 14.5 MB / 1.385 GB, free: 2.699 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/12.16, allocations: 3.75 kB / 1.385 GB, free: 2.699 MB / 1.076 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.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: 18.523081382998498]