Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0014/0.0014, allocations: 106.9 kB / 16.45 MB, free: 6.453 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.001552/0.001552, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.426/1.426, allocations: 230.6 MB / 252.8 MB, free: 8.941 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.104/3.104, allocations: 0.49 GB / 0.7916 GB, free: 33.54 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.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_12_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.002176/0.002176, allocations: 70.8 kB / 1.149 GB, free: 26.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3244, allocations: 176.1 MB / 1.321 GB, free: 3.328 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02218/0.3466, allocations: 16.3 MB / 1.337 GB, free: 2.977 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.008739/0.3554, allocations: 4.902 MB / 1.342 GB, free: 14.06 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001232/0.3566, allocations: 87.31 kB / 1.342 GB, free: 13.97 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00297/0.3596, allocations: 1.068 MB / 1.343 GB, free: 12.9 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002052/0.3616, allocations: 0.7738 MB / 1.343 GB, free: 12.12 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002402/0.364, allocations: 0.9195 MB / 1.344 GB, free: 11.2 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.004367/0.3684, allocations: 3.622 MB / 1.348 GB, free: 7.57 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005473/0.3739, allocations: 3.559 MB / 1.351 GB, free: 3.945 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002957/0.3768, allocations: 1.621 MB / 1.353 GB, free: 2.32 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003043/0.3799, allocations: 1.881 MB / 1.355 GB, free: 444 kB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0008135/0.3807, allocations: 340 kB / 1.355 GB, free: 104 kB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002054/0.3827, allocations: 0.8075 MB / 1.356 GB, free: 15.29 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.002112/0.3848, allocations: 1.364 MB / 1.357 GB, free: 13.93 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.002672/0.3875, allocations: 1.459 MB / 1.359 GB, free: 12.46 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.00689/0.3944, allocations: 5.144 MB / 1.364 GB, free: 7.301 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.3944, allocations: 0 / 1.364 GB, free: 7.301 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3944, allocations: 0 / 1.364 GB, free: 7.301 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001696/0.3946, allocations: 0 / 1.364 GB, free: 7.301 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: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.006898/0.4015, allocations: 2.717 MB / 1.366 GB, free: 4.52 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.4015, allocations: 11.98 kB / 1.366 GB, free: 4.508 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009393/0.4025, allocations: 378.5 kB / 1.367 GB, free: 4.129 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004561/0.407, allocations: 0.8459 MB / 1.367 GB, free: 3.281 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0035/0.4105, allocations: 1.564 MB / 1.369 GB, free: 1.672 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001971/0.4107, allocations: 177.1 kB / 1.369 GB, free: 1.496 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008099/0.4115, allocations: 244.3 kB / 1.369 GB, free: 1.258 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009343/0.4209, allocations: 4.158 MB / 1.373 GB, free: 12.96 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.062e-05/0.421, allocations: 11.94 kB / 1.373 GB, free: 12.95 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005561/0.4215, allocations: 95.98 kB / 1.374 GB, free: 12.86 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002316/0.4217, allocations: 168.5 kB / 1.374 GB, free: 12.69 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007474/0.4292, allocations: 3.632 MB / 1.377 GB, free: 9.039 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02385/0.4531, allocations: 16.45 MB / 1.393 GB, free: 7.16 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003932/0.457, allocations: 2.225 MB / 1.395 GB, free: 4.727 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001097/0.4581, allocations: 0.5467 MB / 1.396 GB, free: 4.172 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001945/0.4583, allocations: 97.64 kB / 1.396 GB, free: 4.059 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.414e-05/0.4583, allocations: 47.06 kB / 1.396 GB, free: 4.004 MB / 1.092 GB Notification: Performance of pre-optimization done (n=72): time 2.906e-06/0.4584, allocations: 0 / 1.396 GB, free: 4.004 MB / 1.092 GB Notification: Performance of matching and sorting (n=76): time 0.00723/0.4656, allocations: 3.499 MB / 1.4 GB, free: 416 kB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.247e-05/0.4657, allocations: 111.5 kB / 1.4 GB, free: 276 kB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001651/0.4673, allocations: 1.022 MB / 1.401 GB, free: 15.22 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 7.223e-05/0.4674, allocations: 41.64 kB / 1.401 GB, free: 15.18 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009531/0.4683, allocations: 1.138 MB / 1.402 GB, free: 14.02 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002783/0.4686, allocations: 289.6 kB / 1.402 GB, free: 13.74 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004429/0.4691, allocations: 283.5 kB / 1.402 GB, free: 13.45 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002389/0.4693, allocations: 414.7 kB / 1.403 GB, free: 13.04 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/0.4703, allocations: 0.6168 MB / 1.403 GB, free: 12.42 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001485/0.4718, allocations: 1.185 MB / 1.405 GB, free: 10.97 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002499/0.4743, allocations: 1.872 MB / 1.406 GB, free: 8.836 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.909e-05/0.4743, allocations: 8 kB / 1.406 GB, free: 8.828 MB / 1.107 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003455/0.4778, allocations: 2.019 MB / 1.408 GB, free: 6.789 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.744e-05/0.4778, allocations: 12 kB / 1.408 GB, free: 6.777 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.112e-05/0.4778, allocations: 20 kB / 1.408 GB, free: 6.758 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004524/0.4783, allocations: 159.3 kB / 1.409 GB, free: 6.59 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/0.4795, allocations: 343.7 kB / 1.409 GB, free: 6.254 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.29e-05/0.4795, allocations: 43.86 kB / 1.409 GB, free: 6.211 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.4805, allocations: 131.7 kB / 1.409 GB, free: 6.082 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/0.4806, allocations: 68 kB / 1.409 GB, free: 6.016 MB / 1.107 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.001386/0.482, allocations: 0.9771 MB / 1.41 GB, free: 5.027 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002688/0.4823, allocations: 115.3 kB / 1.41 GB, free: 4.914 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002249/0.4846, allocations: 1.233 MB / 1.411 GB, free: 3.66 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.4846, allocations: 12 kB / 1.411 GB, free: 3.648 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.4846, allocations: 0 / 1.411 GB, free: 3.648 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/0.4846, allocations: 3.984 kB / 1.411 GB, free: 3.645 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006214/0.4908, allocations: 3.798 MB / 1.415 GB, free: 15.7 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/0.4908, allocations: 4 kB / 1.415 GB, free: 15.69 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006473/0.4914, allocations: 151.8 kB / 1.415 GB, free: 15.54 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000394/0.4918, allocations: 135.3 kB / 1.415 GB, free: 15.4 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.566e-05/0.4919, allocations: 23.98 kB / 1.415 GB, free: 15.38 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.044e-05/0.4919, allocations: 12.12 kB / 1.415 GB, free: 15.36 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.4919, allocations: 7.938 kB / 1.415 GB, free: 15.36 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002173/0.4941, allocations: 1.462 MB / 1.417 GB, free: 13.84 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005182/0.4946, allocations: 280.3 kB / 1.417 GB, free: 13.55 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002151/0.4948, allocations: 16 kB / 1.417 GB, free: 13.53 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006736/0.4955, allocations: 71.91 kB / 1.417 GB, free: 13.46 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.4957, allocations: 60.36 kB / 1.417 GB, free: 13.4 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-05/0.4957, allocations: 24 kB / 1.417 GB, free: 13.38 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001089/0.4968, allocations: 0.6953 MB / 1.418 GB, free: 12.67 MB / 1.123 GB Notification: Performance of sort global known variables: time 7e-08/0.4968, allocations: 0 / 1.418 GB, free: 12.67 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001549/0.4983, allocations: 388 kB / 1.418 GB, free: 12.29 MB / 1.123 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.002652/0.501, allocations: 2.041 MB / 1.42 GB, free: 10.19 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002691/0.5037, allocations: 1.664 MB / 1.422 GB, free: 8.438 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.5037, allocations: 4 kB / 1.422 GB, free: 8.434 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.001097/0.5048, allocations: 0.8384 MB / 1.423 GB, free: 7.508 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001708/0.5065, allocations: 269 kB / 1.423 GB, free: 7.25 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02256/0.529, allocations: 12.91 MB / 1.436 GB, free: 9.613 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002376/0.5314, allocations: 1.912 MB / 1.437 GB, free: 7.668 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.001082/0.5325, allocations: 457.4 kB / 1.438 GB, free: 7.219 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00102/0.5335, allocations: 0.7141 MB / 1.439 GB, free: 6.504 MB / 1.139 GB Notification: Performance of SimCode: time 1.373e-06/0.5335, allocations: 0 / 1.439 GB, free: 6.504 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06577/0.5993, allocations: 28.05 MB / 1.466 GB, free: 10.8 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/12.04, allocations: 7.922 kB / 1.466 GB, free: 10.8 MB / 1.17 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.721272902796045]