Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.001553/0.001553, allocations: 114.3 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.001544/0.001544, allocations: 215.8 kB / 22.26 MB, free: 5.082 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.436/1.436, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.73/2.73, allocations: 476.7 MB / 0.7707 GB, free: 4.27 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_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.001992/0.001992, allocations: 64.73 kB / 1.117 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2781, allocations: 169.9 MB / 1.283 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02102/0.2991, allocations: 16.81 MB / 1.3 GB, free: 10.88 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00886/0.308, allocations: 5.015 MB / 1.305 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001136/0.3091, allocations: 87.31 kB / 1.305 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002982/0.3121, allocations: 1.087 MB / 1.306 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00197/0.314, allocations: 0.7699 MB / 1.307 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002459/0.3165, allocations: 0.9653 MB / 1.308 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004445/0.3209, allocations: 3.622 MB / 1.311 GB, free: 15.3 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003936/0.3249, allocations: 2.461 MB / 1.313 GB, free: 12.77 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002408/0.3273, allocations: 1.621 MB / 1.315 GB, free: 11.14 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002973/0.3303, allocations: 1.877 MB / 1.317 GB, free: 9.262 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0007525/0.331, allocations: 340 kB / 1.317 GB, free: 8.93 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001832/0.3328, allocations: 0.8114 MB / 1.318 GB, free: 8.117 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001689/0.3345, allocations: 1.356 MB / 1.319 GB, free: 6.758 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002312/0.3369, allocations: 1.463 MB / 1.321 GB, free: 5.289 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005691/0.3425, allocations: 5.136 MB / 1.326 GB, free: 140 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3425, allocations: 7.938 kB / 1.326 GB, free: 132 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3425, allocations: 0 / 1.326 GB, free: 132 kB / 1.014 GB Notification: Performance of Transformations before backend: time 0.000125/0.3427, allocations: 0 / 1.326 GB, free: 132 kB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.005953/0.3486, allocations: 2.638 MB / 1.328 GB, free: 13.44 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.3487, allocations: 8.031 kB / 1.328 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000559/0.3492, allocations: 378.4 kB / 1.329 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003813/0.353, allocations: 0.8537 MB / 1.33 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003051/0.3561, allocations: 1.531 MB / 1.331 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001315/0.3562, allocations: 173.1 kB / 1.331 GB, free: 10.47 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003843/0.3566, allocations: 236.4 kB / 1.331 GB, free: 10.24 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006516/0.3631, allocations: 4.157 MB / 1.335 GB, free: 5.941 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.49e-05/0.3632, allocations: 11.92 kB / 1.336 GB, free: 5.93 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002584/0.3634, allocations: 99.98 kB / 1.336 GB, free: 5.832 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002026/0.3636, allocations: 176.5 kB / 1.336 GB, free: 5.656 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005757/0.3694, allocations: 3.625 MB / 1.339 GB, free: 2.016 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01887/0.3883, allocations: 15.63 MB / 1.355 GB, free: 1.109 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002992/0.3913, allocations: 1.469 MB / 1.356 GB, free: 15.62 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008622/0.3921, allocations: 0.5515 MB / 1.357 GB, free: 15.06 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/0.3922, allocations: 24.62 kB / 1.357 GB, free: 15.04 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.3923, allocations: 47.16 kB / 1.357 GB, free: 14.98 MB / 1.061 GB Notification: Performance of pre-optimization done (n=72): time 2.194e-06/0.3923, allocations: 0 / 1.357 GB, free: 14.98 MB / 1.061 GB Notification: Performance of matching and sorting (n=76): time 0.005344/0.3976, allocations: 3.201 MB / 1.36 GB, free: 11.76 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.987e-05/0.3977, allocations: 115.5 kB / 1.36 GB, free: 11.62 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/0.399, allocations: 1.022 MB / 1.361 GB, free: 10.57 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.932e-05/0.3991, allocations: 41.7 kB / 1.361 GB, free: 10.53 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007747/0.3998, allocations: 1.134 MB / 1.362 GB, free: 9.379 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002449/0.4001, allocations: 289.6 kB / 1.362 GB, free: 9.094 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000399/0.4005, allocations: 279.4 kB / 1.363 GB, free: 8.812 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002212/0.4007, allocations: 418.7 kB / 1.363 GB, free: 8.395 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009793/0.4017, allocations: 0.6167 MB / 1.364 GB, free: 7.777 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/0.4031, allocations: 1.182 MB / 1.365 GB, free: 6.332 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002406/0.4055, allocations: 1.872 MB / 1.367 GB, free: 4.195 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.31e-05/0.4055, allocations: 8 kB / 1.367 GB, free: 4.188 MB / 1.061 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003297/0.4088, allocations: 2.015 MB / 1.369 GB, free: 2.152 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.23e-05/0.4088, allocations: 12 kB / 1.369 GB, free: 2.141 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.746e-05/0.4089, allocations: 24.06 kB / 1.369 GB, free: 2.117 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004329/0.4093, allocations: 163.3 kB / 1.369 GB, free: 1.945 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/0.4104, allocations: 347.4 kB / 1.369 GB, free: 1.605 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.422e-05/0.4105, allocations: 39.86 kB / 1.369 GB, free: 1.566 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009379/0.4114, allocations: 123.8 kB / 1.369 GB, free: 1.445 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/0.4115, allocations: 71.98 kB / 1.369 GB, free: 1.375 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001445/0.413, allocations: 0.9732 MB / 1.37 GB, free: 400 kB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002484/0.4132, allocations: 123.2 kB / 1.37 GB, free: 276 kB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002209/0.4154, allocations: 1.23 MB / 1.372 GB, free: 15.02 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/0.4155, allocations: 12 kB / 1.372 GB, free: 15 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/0.4155, allocations: 0 / 1.372 GB, free: 15 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.4155, allocations: 3.984 kB / 1.372 GB, free: 15 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006299/0.4218, allocations: 3.776 MB / 1.375 GB, free: 11.08 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.4218, allocations: 4 kB / 1.375 GB, free: 11.08 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006146/0.4224, allocations: 160 kB / 1.375 GB, free: 10.92 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003631/0.4228, allocations: 143.3 kB / 1.376 GB, free: 10.77 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.564e-05/0.4228, allocations: 20 kB / 1.376 GB, free: 10.75 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.149e-05/0.4228, allocations: 11.92 kB / 1.376 GB, free: 10.74 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.4228, allocations: 4 kB / 1.376 GB, free: 10.73 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002149/0.425, allocations: 1.466 MB / 1.377 GB, free: 9.219 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006334/0.4256, allocations: 207.2 kB / 1.377 GB, free: 9.016 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002185/0.4258, allocations: 19.98 kB / 1.377 GB, free: 8.996 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006517/0.4265, allocations: 63.91 kB / 1.377 GB, free: 8.934 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.4266, allocations: 68.42 kB / 1.377 GB, free: 8.863 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-05/0.4267, allocations: 20 kB / 1.377 GB, free: 8.844 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001025/0.4277, allocations: 0.6953 MB / 1.378 GB, free: 8.137 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.4277, allocations: 0 / 1.378 GB, free: 8.137 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001355/0.429, allocations: 392 kB / 1.378 GB, free: 7.754 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002478/0.4315, allocations: 2.037 MB / 1.38 GB, free: 5.652 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002301/0.4338, allocations: 1.359 MB / 1.382 GB, free: 4.285 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.4338, allocations: 4.812 kB / 1.382 GB, free: 4.281 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008817/0.4347, allocations: 0.5381 MB / 1.382 GB, free: 3.73 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001404/0.4361, allocations: 274.4 kB / 1.383 GB, free: 3.465 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02014/0.4563, allocations: 12.9 MB / 1.395 GB, free: 5.836 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002191/0.4585, allocations: 1.92 MB / 1.397 GB, free: 3.883 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001157/0.4596, allocations: 449.4 kB / 1.397 GB, free: 3.441 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001053/0.4607, allocations: 0.7141 MB / 1.398 GB, free: 2.727 MB / 1.092 GB Notification: Performance of SimCode: time 6.21e-07/0.4607, allocations: 3.938 kB / 1.398 GB, free: 2.723 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06702/0.5277, allocations: 29.17 MB / 1.427 GB, free: 5.863 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 13/13.53, allocations: 4.562 kB / 1.427 GB, free: 5.859 MB / 1.123 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.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: 20.169189776061103]