Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001719/0.001719, allocations: 108.5 kB / 16.4 MB, free: 6.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002019/0.002019, allocations: 191.7 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.81/2.81, allocations: 469.8 MB / 0.7491 GB, free: 3.039 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 67.89 kB / 1.073 GB, free: 132 kB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.755/0.7569, allocations: 159.1 MB / 1.229 GB, free: 4.871 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04399/0.801, allocations: 34.84 MB / 1.263 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02038/0.8214, allocations: 11.5 MB / 1.274 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002878/0.8243, allocations: 159.2 kB / 1.274 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.01133/0.8357, allocations: 4.257 MB / 1.278 GB, free: 1.965 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.006028/0.8417, allocations: 1.998 MB / 1.28 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006844/0.8486, allocations: 2.397 MB / 1.283 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01251/0.8611, allocations: 8.46 MB / 1.291 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01863/0.8798, allocations: 11.12 MB / 1.302 GB, free: 9.844 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006712/0.8865, allocations: 3.751 MB / 1.305 GB, free: 6.082 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007528/0.8941, allocations: 4.183 MB / 1.309 GB, free: 1.887 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.002649/0.8968, allocations: 0.7812 MB / 1.31 GB, free: 1.105 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006065/0.9029, allocations: 2.024 MB / 1.312 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.005628/0.9085, allocations: 3.06 MB / 1.315 GB, free: 12.01 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.008698/0.9173, allocations: 3.4 MB / 1.318 GB, free: 8.598 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0184/0.9357, allocations: 12.02 MB / 1.33 GB, free: 12.54 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.9357, allocations: 0 / 1.33 GB, free: 12.54 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.823e-06/0.9358, allocations: 0 / 1.33 GB, free: 12.54 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0003787/0.9361, allocations: 0 / 1.33 GB, free: 12.54 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01845/0.9546, allocations: 5.939 MB / 1.336 GB, free: 6.523 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/0.9547, allocations: 8.031 kB / 1.336 GB, free: 6.516 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002792/0.9575, allocations: 0.809 MB / 1.337 GB, free: 5.695 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006581/0.9641, allocations: 1.094 MB / 1.338 GB, free: 4.598 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006785/0.9709, allocations: 3.463 MB / 1.341 GB, free: 1.078 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003364/0.9712, allocations: 411.5 kB / 1.342 GB, free: 0.6758 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001348/0.9726, allocations: 0.5471 MB / 1.342 GB, free: 132 kB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01787/0.9905, allocations: 9.087 MB / 1.351 GB, free: 6.723 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00015/0.9907, allocations: 23.83 kB / 1.351 GB, free: 6.699 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006248/0.9913, allocations: 236 kB / 1.351 GB, free: 6.469 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004077/0.9917, allocations: 346.8 kB / 1.352 GB, free: 6.129 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01331/1.005, allocations: 6.826 MB / 1.358 GB, free: 15.29 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04759/1.053, allocations: 39.86 MB / 1.397 GB, free: 3.719 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004251/1.057, allocations: 3.116 MB / 1.4 GB, free: 468 kB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002942/1.06, allocations: 1.985 MB / 1.402 GB, free: 14.48 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001118/1.06, allocations: 22 kB / 1.402 GB, free: 14.46 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.764e-05/1.06, allocations: 56.56 kB / 1.402 GB, free: 14.39 MB / 1.123 GB Notification: Performance of pre-optimization done (n=179): time 4.028e-06/1.06, allocations: 0 / 1.402 GB, free: 14.39 MB / 1.123 GB Notification: Performance of matching and sorting (n=182): time 0.02598/1.086, allocations: 10.05 MB / 1.412 GB, free: 4.258 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.275e-05/1.086, allocations: 69.41 kB / 1.412 GB, free: 4.176 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002299/1.088, allocations: 1.534 MB / 1.414 GB, free: 2.598 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0002479/1.089, allocations: 53.7 kB / 1.414 GB, free: 2.539 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001791/1.091, allocations: 2.327 MB / 1.416 GB, free: 192 kB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008104/1.091, allocations: 0.6586 MB / 1.417 GB, free: 15.52 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006516/1.092, allocations: 412.1 kB / 1.417 GB, free: 15.11 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001268/1.092, allocations: 308.9 kB / 1.417 GB, free: 14.81 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001739/1.094, allocations: 1.176 MB / 1.418 GB, free: 13.63 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002315/1.096, allocations: 1.889 MB / 1.42 GB, free: 11.42 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004486/1.101, allocations: 3.367 MB / 1.424 GB, free: 7.742 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.32e-05/1.101, allocations: 8 kB / 1.424 GB, free: 7.734 MB / 1.139 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008265/1.109, allocations: 4.59 MB / 1.428 GB, free: 3.121 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.739e-05/1.109, allocations: 12 kB / 1.428 GB, free: 3.109 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.102e-05/1.109, allocations: 24 kB / 1.428 GB, free: 3.086 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004023/1.113, allocations: 1.584 MB / 1.43 GB, free: 1.496 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/1.115, allocations: 355.3 kB / 1.43 GB, free: 1.148 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02541/1.14, allocations: 18.6 MB / 1.448 GB, free: 13.99 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00169/1.142, allocations: 119.9 kB / 1.448 GB, free: 13.88 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001754/1.142, allocations: 92 kB / 1.448 GB, free: 13.79 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003145/1.145, allocations: 1.903 MB / 1.45 GB, free: 11.87 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000513/1.146, allocations: 234.5 kB / 1.45 GB, free: 11.64 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007584/1.153, allocations: 4.098 MB / 1.454 GB, free: 7.512 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/1.153, allocations: 16 kB / 1.454 GB, free: 7.496 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.536e-05/1.153, allocations: 16 kB / 1.454 GB, free: 7.48 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-05/1.153, allocations: 15.91 kB / 1.454 GB, free: 7.465 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01583/1.169, allocations: 9.457 MB / 1.464 GB, free: 13.76 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.238e-05/1.169, allocations: 8.547 kB / 1.464 GB, free: 13.75 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000826/1.17, allocations: 183.6 kB / 1.464 GB, free: 13.57 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003603/1.174, allocations: 1.357 MB / 1.465 GB, free: 12.2 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001361/1.174, allocations: 39.98 kB / 1.465 GB, free: 12.16 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02346/1.197, allocations: 17.36 MB / 1.482 GB, free: 10.24 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.077e-06/1.197, allocations: 11.94 kB / 1.482 GB, free: 10.23 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007432/1.205, allocations: 4.075 MB / 1.486 GB, free: 6.062 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001079/1.206, allocations: 0.5385 MB / 1.487 GB, free: 5.504 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002803/1.206, allocations: 39.98 kB / 1.487 GB, free: 5.465 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000946/1.207, allocations: 87.89 kB / 1.487 GB, free: 5.379 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004672/1.207, allocations: 161.7 kB / 1.487 GB, free: 5.219 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/1.208, allocations: 48 kB / 1.487 GB, free: 5.172 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001442/1.209, allocations: 1.005 MB / 1.488 GB, free: 4.145 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.4e-07/1.209, allocations: 0 / 1.488 GB, free: 4.145 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.002909/1.212, allocations: 0.9921 MB / 1.489 GB, free: 3.152 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007583/1.22, allocations: 4.673 MB / 1.494 GB, free: 14.39 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.007604/1.227, allocations: 4.316 MB / 1.498 GB, free: 10.02 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/1.227, allocations: 4.312 kB / 1.498 GB, free: 10.02 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.004561/1.232, allocations: 2.677 MB / 1.5 GB, free: 7.293 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003578/1.235, allocations: 0.7646 MB / 1.501 GB, free: 6.551 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04625/1.282, allocations: 26.99 MB / 1.527 GB, free: 10.48 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004621/1.286, allocations: 3.576 MB / 1.531 GB, free: 6.871 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001445/1.288, allocations: 463.9 kB / 1.531 GB, free: 6.414 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002287/1.29, allocations: 1.784 MB / 1.533 GB, free: 4.629 MB / 1.248 GB Notification: Performance of SimCode: time 6.72e-07/1.29, allocations: 4 kB / 1.533 GB, free: 4.625 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7435/2.034, allocations: 73.93 MB / 1.605 GB, free: 336.5 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.83/15.87, allocations: 7.453 kB / 1.605 GB, free: 336.5 MB / 1.311 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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: 22.62820197502151]