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.001649/0.001649, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.002064/0.002064, allocations: 219.4 kB / 23.04 MB, free: 5.074 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.149/3.149, allocations: 0.49 GB / 0.7959 GB, free: 33.45 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="cs",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.001966/0.001966, allocations: 69.02 kB / 1.155 GB, free: 25.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3248, allocations: 176.1 MB / 1.327 GB, free: 1.98 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006883/0.3317, allocations: 5.056 MB / 1.332 GB, free: 12.91 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004372/0.3361, allocations: 2.611 MB / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003761/0.3364, allocations: 35.62 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001221/0.3377, allocations: 413.9 kB / 1.335 GB, free: 9.844 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001058/0.3387, allocations: 469.6 kB / 1.335 GB, free: 9.383 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009308/0.3396, allocations: 412.8 kB / 1.335 GB, free: 8.98 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001248/0.3409, allocations: 0.9295 MB / 1.336 GB, free: 8.047 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005712/0.3415, allocations: 318.6 kB / 1.337 GB, free: 7.727 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006287/0.3421, allocations: 358.6 kB / 1.337 GB, free: 7.375 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005425/0.3426, allocations: 374.4 kB / 1.337 GB, free: 7.008 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.654e-05/0.3427, allocations: 40 kB / 1.337 GB, free: 6.969 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007647/0.3435, allocations: 411.1 kB / 1.338 GB, free: 6.566 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002022/0.3437, allocations: 183.4 kB / 1.338 GB, free: 6.387 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003224/0.344, allocations: 322.2 kB / 1.338 GB, free: 6.07 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.3451, allocations: 0.8909 MB / 1.339 GB, free: 5.176 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3451, allocations: 0 / 1.339 GB, free: 5.176 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3451, allocations: 0 / 1.339 GB, free: 5.176 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.989e-06/0.3451, allocations: 0 / 1.339 GB, free: 5.176 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.3466, allocations: 0.8974 MB / 1.34 GB, free: 4.242 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.3466, allocations: 8.031 kB / 1.34 GB, free: 4.234 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.403e-05/0.3466, allocations: 17.19 kB / 1.34 GB, free: 4.219 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001042/0.3468, allocations: 102.6 kB / 1.34 GB, free: 4.109 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001252/0.348, allocations: 204.2 kB / 1.34 GB, free: 3.91 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008865/0.3489, allocations: 488.8 kB / 1.341 GB, free: 3.414 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.001e-05/0.3489, allocations: 33.38 kB / 1.341 GB, free: 3.383 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.702e-05/0.349, allocations: 44.36 kB / 1.341 GB, free: 3.34 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/0.3502, allocations: 0.8481 MB / 1.342 GB, free: 2.355 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.039e-05/0.3502, allocations: 15.89 kB / 1.342 GB, free: 2.34 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.359e-05/0.3502, allocations: 27.97 kB / 1.342 GB, free: 2.312 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.559e-05/0.3503, allocations: 64.95 kB / 1.342 GB, free: 2.25 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008704/0.3512, allocations: 0.5695 MB / 1.342 GB, free: 1.68 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004858/0.3561, allocations: 5.57 MB / 1.348 GB, free: 11.73 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006668/0.3567, allocations: 418.8 kB / 1.348 GB, free: 11.31 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003172/0.357, allocations: 208.7 kB / 1.348 GB, free: 11.11 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.3571, allocations: 0 / 1.348 GB, free: 11.11 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.3571, allocations: 38.56 kB / 1.348 GB, free: 11.06 MB / 1.045 GB Notification: Performance of pre-optimization done (n=32): time 1.333e-06/0.3571, allocations: 4 kB / 1.348 GB, free: 11.05 MB / 1.045 GB Notification: Performance of matching and sorting (n=33): time 0.002443/0.3596, allocations: 1.148 MB / 1.35 GB, free: 9.883 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.3596, allocations: 51.69 kB / 1.35 GB, free: 9.82 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005593/0.3601, allocations: 0.4991 MB / 1.35 GB, free: 9.312 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.719e-05/0.3602, allocations: 33.7 kB / 1.35 GB, free: 9.273 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002732/0.3605, allocations: 375.7 kB / 1.35 GB, free: 8.902 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.3606, allocations: 123 kB / 1.351 GB, free: 8.781 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001722/0.3607, allocations: 110.2 kB / 1.351 GB, free: 8.668 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.3609, allocations: 374.7 kB / 1.351 GB, free: 8.293 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003005/0.3612, allocations: 193.2 kB / 1.351 GB, free: 8.102 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004989/0.3617, allocations: 447.3 kB / 1.352 GB, free: 7.551 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008643/0.3626, allocations: 0.6837 MB / 1.352 GB, free: 6.75 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.3626, allocations: 4 kB / 1.352 GB, free: 6.746 MB / 1.045 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001355/0.3639, allocations: 0.8139 MB / 1.353 GB, free: 5.91 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.364, allocations: 8 kB / 1.353 GB, free: 5.902 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/0.364, allocations: 11.94 kB / 1.353 GB, free: 5.891 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004948/0.3645, allocations: 152.2 kB / 1.353 GB, free: 5.727 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004718/0.3649, allocations: 127.7 kB / 1.353 GB, free: 5.602 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003564/0.3685, allocations: 4.038 MB / 1.357 GB, free: 1.219 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004274/0.3689, allocations: 31.97 kB / 1.357 GB, free: 1.188 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.042e-05/0.369, allocations: 28 kB / 1.357 GB, free: 1.16 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.0003082/0.3693, allocations: 219.4 kB / 1.358 GB, free: 0.9375 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.839e-05/0.3694, allocations: 67.58 kB / 1.358 GB, free: 0.8711 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/0.3705, allocations: 0.6012 MB / 1.358 GB, free: 252 kB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3705, allocations: 4 kB / 1.358 GB, free: 248 kB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.3705, allocations: 0 / 1.358 GB, free: 248 kB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3705, allocations: 3.938 kB / 1.358 GB, free: 244 kB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001888/0.3724, allocations: 1.242 MB / 1.359 GB, free: 14.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.3724, allocations: 4 kB / 1.359 GB, free: 14.91 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002679/0.3726, allocations: 51.89 kB / 1.36 GB, free: 14.86 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004151/0.373, allocations: 152.3 kB / 1.36 GB, free: 14.69 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.717e-05/0.3731, allocations: 8 kB / 1.36 GB, free: 14.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003377/0.3764, allocations: 4.026 MB / 1.364 GB, free: 10.31 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.3764, allocations: 3.938 kB / 1.364 GB, free: 10.31 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.3775, allocations: 0.712 MB / 1.364 GB, free: 9.543 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002469/0.3777, allocations: 99.47 kB / 1.364 GB, free: 9.445 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.171e-05/0.3778, allocations: 8 kB / 1.364 GB, free: 9.438 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002639/0.3781, allocations: 23.97 kB / 1.364 GB, free: 9.414 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.291e-05/0.3781, allocations: 31.83 kB / 1.364 GB, free: 9.383 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.3782, allocations: 16 kB / 1.364 GB, free: 9.367 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004021/0.3786, allocations: 334.8 kB / 1.365 GB, free: 9.043 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3786, allocations: 4 kB / 1.365 GB, free: 9.039 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006395/0.3792, allocations: 140 kB / 1.365 GB, free: 8.902 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.001347/0.3806, allocations: 1.257 MB / 1.366 GB, free: 7.578 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001406/0.382, allocations: 0.8624 MB / 1.367 GB, free: 6.672 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.382, allocations: 0 / 1.367 GB, free: 6.672 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0008139/0.3828, allocations: 0.5764 MB / 1.368 GB, free: 6.051 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.3838, allocations: 207.6 kB / 1.368 GB, free: 5.855 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007536/0.3913, allocations: 5.167 MB / 1.373 GB, free: 304 kB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006707/0.392, allocations: 0.9098 MB / 1.374 GB, free: 15.36 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.000405/0.3924, allocations: 117.3 kB / 1.374 GB, free: 15.24 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002802/0.3927, allocations: 195.4 kB / 1.374 GB, free: 15.05 MB / 1.076 GB Notification: Performance of SimCode: time 1.152e-06/0.3927, allocations: 0 / 1.374 GB, free: 15.05 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06662/0.4593, allocations: 13.39 MB / 1.387 GB, free: 1.945 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.35, allocations: 11.91 kB / 1.387 GB, free: 1.941 MB / 1.076 GB " [Timeout remaining time 287] (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: 19.12371313001495]