Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002396/0.002396, 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.00314/0.00314, allocations: 208.1 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.472/1.472, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.199/3.199, allocations: 0.505 GB / 0.8101 GB, free: 22.1 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_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.001952/0.001952, allocations: 67.66 kB / 1.177 GB, free: 17.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3436, allocations: 180.2 MB / 1.353 GB, free: 8.504 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.007021/0.3506, allocations: 5.062 MB / 1.358 GB, free: 3.422 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004299/0.3549, allocations: 2.608 MB / 1.36 GB, free: 0.8047 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002814/0.3552, allocations: 35.62 kB / 1.36 GB, free: 0.7695 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001185/0.3564, allocations: 423.9 kB / 1.361 GB, free: 364 kB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001003/0.3574, allocations: 469.7 kB / 1.361 GB, free: 15.89 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008509/0.3582, allocations: 409.7 kB / 1.362 GB, free: 15.49 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001046/0.3593, allocations: 0.9255 MB / 1.363 GB, free: 14.57 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004888/0.3598, allocations: 322.6 kB / 1.363 GB, free: 14.25 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005135/0.3603, allocations: 358.6 kB / 1.363 GB, free: 13.89 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005792/0.3609, allocations: 366.4 kB / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.569e-05/0.3609, allocations: 40 kB / 1.364 GB, free: 13.5 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007312/0.3616, allocations: 415.1 kB / 1.364 GB, free: 13.09 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002163/0.3619, allocations: 183.3 kB / 1.364 GB, free: 12.91 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003276/0.3622, allocations: 326.2 kB / 1.364 GB, free: 12.59 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001121/0.3633, allocations: 0.8832 MB / 1.365 GB, free: 11.7 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3633, allocations: 0 / 1.365 GB, free: 11.7 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3633, allocations: 0 / 1.365 GB, free: 11.7 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.3633, allocations: 4 kB / 1.365 GB, free: 11.7 MB / 1.061 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.001542/0.3649, allocations: 0.9031 MB / 1.366 GB, free: 10.77 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.3649, allocations: 8.031 kB / 1.366 GB, free: 10.76 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001088/0.365, allocations: 94.7 kB / 1.366 GB, free: 10.66 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/0.3662, allocations: 212.1 kB / 1.366 GB, free: 10.45 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008539/0.3671, allocations: 492.8 kB / 1.367 GB, free: 9.945 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.521e-05/0.3671, allocations: 33.36 kB / 1.367 GB, free: 9.914 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.467e-05/0.3672, allocations: 48.31 kB / 1.367 GB, free: 9.867 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.3684, allocations: 0.8483 MB / 1.368 GB, free: 8.883 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/0.3684, allocations: 7.938 kB / 1.368 GB, free: 8.875 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.841e-05/0.3684, allocations: 24 kB / 1.368 GB, free: 8.852 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.436e-05/0.3685, allocations: 64.95 kB / 1.368 GB, free: 8.785 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008722/0.3694, allocations: 0.5694 MB / 1.369 GB, free: 8.219 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005027/0.3744, allocations: 5.582 MB / 1.374 GB, free: 2.25 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006657/0.3751, allocations: 422.3 kB / 1.374 GB, free: 1.828 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003098/0.3754, allocations: 200.7 kB / 1.375 GB, free: 1.629 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.3754, allocations: 4 kB / 1.375 GB, free: 1.625 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.3755, allocations: 38.5 kB / 1.375 GB, free: 1.578 MB / 1.061 GB Notification: Performance of pre-optimization done (n=32): time 1.934e-06/0.3755, allocations: 0 / 1.375 GB, free: 1.578 MB / 1.061 GB Notification: Performance of matching and sorting (n=33): time 0.002456/0.3779, allocations: 1.148 MB / 1.376 GB, free: 416 kB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.378, allocations: 59.69 kB / 1.376 GB, free: 344 kB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005763/0.3785, allocations: 0.4952 MB / 1.376 GB, free: 15.83 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/0.3786, allocations: 33.64 kB / 1.376 GB, free: 15.79 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002701/0.3788, allocations: 367.7 kB / 1.377 GB, free: 15.43 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.3789, allocations: 127 kB / 1.377 GB, free: 15.3 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.3791, allocations: 110.2 kB / 1.377 GB, free: 15.19 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000193/0.3793, allocations: 370.8 kB / 1.377 GB, free: 14.82 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002997/0.3796, allocations: 193.2 kB / 1.377 GB, free: 14.63 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005029/0.3801, allocations: 447.3 kB / 1.378 GB, free: 14.08 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008958/0.381, allocations: 0.6876 MB / 1.379 GB, free: 13.27 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.381, allocations: 4 kB / 1.379 GB, free: 13.27 MB / 1.076 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001303/0.3823, allocations: 0.8091 MB / 1.379 GB, free: 12.44 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/0.3823, allocations: 8 kB / 1.379 GB, free: 12.43 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.3823, allocations: 8.906 kB / 1.379 GB, free: 12.42 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004834/0.3828, allocations: 156.1 kB / 1.379 GB, free: 12.25 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004502/0.3833, allocations: 123.7 kB / 1.38 GB, free: 12.13 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003708/0.387, allocations: 4.045 MB / 1.384 GB, free: 7.746 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000347/0.3873, allocations: 36.12 kB / 1.384 GB, free: 7.711 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.065e-05/0.3874, allocations: 28 kB / 1.384 GB, free: 7.684 MB / 1.076 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.000282/0.3877, allocations: 215.1 kB / 1.384 GB, free: 7.465 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.3878, allocations: 67.61 kB / 1.384 GB, free: 7.398 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001097/0.3889, allocations: 0.6011 MB / 1.384 GB, free: 6.773 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.3889, allocations: 4 kB / 1.384 GB, free: 6.77 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.3889, allocations: 0 / 1.384 GB, free: 6.77 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3889, allocations: 4 kB / 1.384 GB, free: 6.766 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001908/0.3908, allocations: 1.226 MB / 1.386 GB, free: 5.453 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3908, allocations: 0 / 1.386 GB, free: 5.453 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002589/0.391, allocations: 59.89 kB / 1.386 GB, free: 5.395 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003951/0.3914, allocations: 140.4 kB / 1.386 GB, free: 5.242 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.825e-05/0.3915, allocations: 23.81 kB / 1.386 GB, free: 5.219 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003401/0.3949, allocations: 4.022 MB / 1.39 GB, free: 0.8516 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.3949, allocations: 8.016 kB / 1.39 GB, free: 0.8438 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009877/0.3959, allocations: 0.7083 MB / 1.39 GB, free: 84 kB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002292/0.3961, allocations: 95.53 kB / 1.391 GB, free: 15.98 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.386e-05/0.3961, allocations: 15.88 kB / 1.391 GB, free: 15.97 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002407/0.3964, allocations: 23.97 kB / 1.391 GB, free: 15.95 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.956e-05/0.3965, allocations: 35.83 kB / 1.391 GB, free: 15.91 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.3965, allocations: 8 kB / 1.391 GB, free: 15.91 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0003626/0.3968, allocations: 342.8 kB / 1.391 GB, free: 15.57 MB / 1.092 GB Notification: Performance of sort global known variables: time 9e-08/0.3968, allocations: 0 / 1.391 GB, free: 15.57 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0005955/0.3974, allocations: 144 kB / 1.391 GB, free: 15.43 MB / 1.092 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.001381/0.3988, allocations: 1.265 MB / 1.392 GB, free: 14.1 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001371/0.4002, allocations: 0.8588 MB / 1.393 GB, free: 13.2 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4002, allocations: 0 / 1.393 GB, free: 13.2 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0008211/0.401, allocations: 0.5801 MB / 1.394 GB, free: 12.57 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009348/0.4019, allocations: 206.4 kB / 1.394 GB, free: 12.38 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01012/0.4121, allocations: 5.165 MB / 1.399 GB, free: 6.82 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008133/0.4129, allocations: 0.9059 MB / 1.4 GB, free: 5.887 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0005063/0.4134, allocations: 121.3 kB / 1.4 GB, free: 5.766 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003893/0.4138, allocations: 195.4 kB / 1.4 GB, free: 5.574 MB / 1.092 GB Notification: Performance of SimCode: time 5.91e-07/0.4138, allocations: 0 / 1.4 GB, free: 5.574 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05703/0.4708, allocations: 13.34 MB / 1.413 GB, free: 8.488 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.29, allocations: 6.25 kB / 1.413 GB, free: 8.484 MB / 1.107 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.979341229889542]