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.002087/0.002087, allocations: 104 kB / 16.45 MB, free: 6.449 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.00253/0.00253, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.453/1.453, allocations: 230.6 MB / 252.8 MB, free: 9.117 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.168/3.168, allocations: 0.49 GB / 0.7916 GB, free: 33.37 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.002124/0.002124, allocations: 71.09 kB / 1.149 GB, free: 26.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3279, allocations: 176.1 MB / 1.321 GB, free: 3.453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.007295/0.3352, allocations: 4.968 MB / 1.326 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004818/0.34, allocations: 2.545 MB / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004977/0.3405, allocations: 35.62 kB / 1.328 GB, free: 11.87 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001326/0.3419, allocations: 413.8 kB / 1.329 GB, free: 11.46 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001208/0.3431, allocations: 473.6 kB / 1.329 GB, free: 11 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009983/0.3441, allocations: 398.4 kB / 1.329 GB, free: 10.61 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001237/0.3453, allocations: 0.929 MB / 1.33 GB, free: 9.68 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005044/0.3458, allocations: 294.8 kB / 1.331 GB, free: 9.383 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005481/0.3464, allocations: 350.7 kB / 1.331 GB, free: 9.039 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004966/0.3468, allocations: 374.3 kB / 1.331 GB, free: 8.672 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.643e-05/0.3469, allocations: 36 kB / 1.331 GB, free: 8.637 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007037/0.3476, allocations: 411.1 kB / 1.332 GB, free: 8.234 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002039/0.3478, allocations: 183.4 kB / 1.332 GB, free: 8.055 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003312/0.3482, allocations: 326.2 kB / 1.332 GB, free: 7.734 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.3493, allocations: 0.8832 MB / 1.333 GB, free: 6.848 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3493, allocations: 0 / 1.333 GB, free: 6.848 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3493, allocations: 4 kB / 1.333 GB, free: 6.844 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.3493, allocations: 0 / 1.333 GB, free: 6.844 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.001529/0.3508, allocations: 0.9687 MB / 1.334 GB, free: 5.824 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.3509, allocations: 19.98 kB / 1.334 GB, free: 5.805 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001201/0.351, allocations: 94.69 kB / 1.334 GB, free: 5.703 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001325/0.3523, allocations: 212.2 kB / 1.334 GB, free: 5.496 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008781/0.3532, allocations: 0.5494 MB / 1.335 GB, free: 4.91 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.381e-05/0.3532, allocations: 33.38 kB / 1.335 GB, free: 4.879 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.042e-05/0.3533, allocations: 48.36 kB / 1.335 GB, free: 4.832 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00121/0.3545, allocations: 0.8483 MB / 1.336 GB, free: 3.848 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/0.3545, allocations: 11.89 kB / 1.336 GB, free: 3.836 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.854e-05/0.3546, allocations: 27.97 kB / 1.336 GB, free: 3.809 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-05/0.3547, allocations: 60.97 kB / 1.336 GB, free: 3.746 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009063/0.3556, allocations: 0.5694 MB / 1.336 GB, free: 3.18 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004999/0.3606, allocations: 5.647 MB / 1.342 GB, free: 13.14 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006942/0.3613, allocations: 426.8 kB / 1.342 GB, free: 12.71 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003224/0.3616, allocations: 204.7 kB / 1.343 GB, free: 12.51 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.3616, allocations: 0 / 1.343 GB, free: 12.51 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.3617, allocations: 42.56 kB / 1.343 GB, free: 12.46 MB / 1.045 GB Notification: Performance of pre-optimization done (n=32): time 1.423e-06/0.3617, allocations: 7.938 kB / 1.343 GB, free: 12.45 MB / 1.045 GB Notification: Performance of matching and sorting (n=33): time 0.002797/0.3645, allocations: 1.511 MB / 1.344 GB, free: 10.82 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.3645, allocations: 55.69 kB / 1.344 GB, free: 10.76 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005955/0.3651, allocations: 0.4991 MB / 1.345 GB, free: 10.25 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.417e-05/0.3651, allocations: 33.7 kB / 1.345 GB, free: 10.21 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002716/0.3654, allocations: 367.8 kB / 1.345 GB, free: 9.848 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.3655, allocations: 122.9 kB / 1.345 GB, free: 9.727 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001628/0.3657, allocations: 114.2 kB / 1.345 GB, free: 9.609 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.3659, allocations: 370.8 kB / 1.346 GB, free: 9.238 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003112/0.3662, allocations: 193.2 kB / 1.346 GB, free: 9.051 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005127/0.3667, allocations: 451.3 kB / 1.346 GB, free: 8.492 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009081/0.3676, allocations: 0.6876 MB / 1.347 GB, free: 7.688 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.3676, allocations: 4 kB / 1.347 GB, free: 7.684 MB / 1.045 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001406/0.369, allocations: 0.806 MB / 1.348 GB, free: 6.855 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.369, allocations: 8 kB / 1.348 GB, free: 6.848 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.369, allocations: 12.09 kB / 1.348 GB, free: 6.836 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005284/0.3696, allocations: 156.1 kB / 1.348 GB, free: 6.668 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004846/0.3701, allocations: 123.7 kB / 1.348 GB, free: 6.547 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003856/0.3739, allocations: 4.348 MB / 1.352 GB, free: 1.785 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004033/0.3743, allocations: 39.97 kB / 1.352 GB, free: 1.746 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.125e-05/0.3744, allocations: 24 kB / 1.352 GB, free: 1.723 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.000284/0.3746, allocations: 217.5 kB / 1.352 GB, free: 1.5 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.908e-05/0.3747, allocations: 59.69 kB / 1.352 GB, free: 1.441 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001152/0.3759, allocations: 0.597 MB / 1.353 GB, free: 0.8164 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.3759, allocations: 4 kB / 1.353 GB, free: 0.8125 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.3759, allocations: 7.938 kB / 1.353 GB, free: 0.8047 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.3759, allocations: 3.984 kB / 1.353 GB, free: 0.8008 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001964/0.3779, allocations: 1.258 MB / 1.354 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3779, allocations: 0 / 1.354 GB, free: 15.45 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002767/0.3781, allocations: 55.89 kB / 1.354 GB, free: 15.39 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004517/0.3786, allocations: 148.3 kB / 1.355 GB, free: 15.23 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.979e-05/0.3786, allocations: 11.94 kB / 1.355 GB, free: 15.22 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003798/0.3824, allocations: 4.336 MB / 1.359 GB, free: 10.47 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.3824, allocations: 4.156 kB / 1.359 GB, free: 10.46 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.3836, allocations: 0.7123 MB / 1.359 GB, free: 9.699 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002369/0.3838, allocations: 172.6 kB / 1.36 GB, free: 9.512 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.363e-05/0.3839, allocations: 11.98 kB / 1.36 GB, free: 9.5 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002693/0.3841, allocations: 23.97 kB / 1.36 GB, free: 9.477 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.571e-05/0.3842, allocations: 31.84 kB / 1.36 GB, free: 9.445 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.929e-05/0.3842, allocations: 12 kB / 1.36 GB, free: 9.434 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000417/0.3847, allocations: 338.8 kB / 1.36 GB, free: 9.105 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3847, allocations: 0 / 1.36 GB, free: 9.105 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006701/0.3853, allocations: 144 kB / 1.36 GB, free: 8.965 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.001497/0.3868, allocations: 1.267 MB / 1.361 GB, free: 7.633 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001565/0.3884, allocations: 1.009 MB / 1.362 GB, free: 6.543 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3884, allocations: 0 / 1.362 GB, free: 6.543 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0009112/0.3893, allocations: 0.7233 MB / 1.363 GB, free: 5.738 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.3903, allocations: 212 kB / 1.363 GB, free: 5.543 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007588/0.3979, allocations: 5.166 MB / 1.368 GB, free: 15.98 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006348/0.3986, allocations: 0.9097 MB / 1.369 GB, free: 15.04 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004177/0.399, allocations: 121.2 kB / 1.369 GB, free: 14.92 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002863/0.3993, allocations: 195.4 kB / 1.37 GB, free: 14.73 MB / 1.076 GB Notification: Performance of SimCode: time 1.372e-06/0.3993, allocations: 0 / 1.37 GB, free: 14.73 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05091/0.4502, allocations: 12.94 MB / 1.382 GB, free: 2.09 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.14, allocations: 13.31 kB / 1.382 GB, free: 2.082 MB / 1.076 GB " [Timeout remaining time 289] (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: 17.78795213997364]