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.001341/0.001341, allocations: 107.6 kB / 16.45 MB, free: 6.504 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.001354/0.001354, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.413/1.413, allocations: 225.6 MB / 247.8 MB, free: 13.96 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.761/2.761, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 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.002004/0.002004, allocations: 67.89 kB / 1.104 GB, free: 9.273 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.722/0.724, allocations: 168.7 MB / 1.269 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.0428/0.7668, allocations: 35.47 MB / 1.303 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01988/0.7867, allocations: 11.62 MB / 1.315 GB, free: 5.977 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003412/0.7901, allocations: 163.2 kB / 1.315 GB, free: 5.816 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01112/0.8013, allocations: 4.313 MB / 1.319 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00619/0.8074, allocations: 2.084 MB / 1.321 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.006529/0.814, allocations: 2.427 MB / 1.324 GB, free: 12.97 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01159/0.8256, allocations: 8.46 MB / 1.332 GB, free: 4.492 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01205/0.8376, allocations: 8.412 MB / 1.34 GB, free: 11.96 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006009/0.8436, allocations: 3.798 MB / 1.344 GB, free: 8.152 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007395/0.851, allocations: 4.428 MB / 1.348 GB, free: 3.711 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001709/0.8527, allocations: 0.7773 MB / 1.349 GB, free: 2.934 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004644/0.8574, allocations: 2.067 MB / 1.351 GB, free: 0.8633 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0038/0.8612, allocations: 3.145 MB / 1.354 GB, free: 13.71 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.005068/0.8662, allocations: 3.393 MB / 1.357 GB, free: 10.3 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01656/0.8828, allocations: 12.01 MB / 1.369 GB, free: 14.25 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.8828, allocations: 0 / 1.369 GB, free: 14.25 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8828, allocations: 0 / 1.369 GB, free: 14.25 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0003197/0.8831, allocations: 0 / 1.369 GB, free: 14.25 MB / 1.076 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.01359/0.8967, allocations: 5.946 MB / 1.375 GB, free: 8.227 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.8968, allocations: 8.031 kB / 1.375 GB, free: 8.219 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001296/0.8981, allocations: 0.8089 MB / 1.376 GB, free: 7.398 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005814/0.9039, allocations: 1.09 MB / 1.377 GB, free: 6.305 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008648/0.9125, allocations: 3.459 MB / 1.38 GB, free: 2.789 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003608/0.9129, allocations: 419.5 kB / 1.38 GB, free: 2.379 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001537/0.9144, allocations: 0.5393 MB / 1.381 GB, free: 1.84 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01791/0.9323, allocations: 9.079 MB / 1.39 GB, free: 8.441 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001746/0.9325, allocations: 27.81 kB / 1.39 GB, free: 8.414 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007084/0.9332, allocations: 240 kB / 1.39 GB, free: 8.18 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004007/0.9336, allocations: 350.8 kB / 1.39 GB, free: 7.836 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01447/0.9481, allocations: 6.822 MB / 1.397 GB, free: 1.004 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04754/0.9956, allocations: 39.86 MB / 1.436 GB, free: 5.43 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003846/0.9995, allocations: 2.908 MB / 1.439 GB, free: 2.371 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002628/1.002, allocations: 1.782 MB / 1.441 GB, free: 0.5977 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 8.982e-05/1.002, allocations: 18 kB / 1.441 GB, free: 0.5781 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.099e-05/1.002, allocations: 52.56 kB / 1.441 GB, free: 0.5195 MB / 1.139 GB Notification: Performance of pre-optimization done (n=179): time 5.41e-06/1.002, allocations: 3.984 kB / 1.441 GB, free: 0.5156 MB / 1.139 GB Notification: Performance of matching and sorting (n=182): time 0.02478/1.027, allocations: 9.996 MB / 1.45 GB, free: 6.43 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.998e-05/1.027, allocations: 77.41 kB / 1.45 GB, free: 6.34 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002114/1.029, allocations: 1.53 MB / 1.452 GB, free: 4.766 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001273/1.029, allocations: 57.7 kB / 1.452 GB, free: 4.703 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.00163/1.031, allocations: 2.32 MB / 1.454 GB, free: 2.359 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006033/1.032, allocations: 0.6623 MB / 1.455 GB, free: 1.691 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006194/1.032, allocations: 408.1 kB / 1.455 GB, free: 1.285 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001241/1.032, allocations: 305.1 kB / 1.456 GB, free: 0.9844 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001754/1.034, allocations: 1.183 MB / 1.457 GB, free: 15.8 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002326/1.036, allocations: 1.881 MB / 1.459 GB, free: 13.59 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004479/1.041, allocations: 3.371 MB / 1.462 GB, free: 9.914 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.255e-05/1.041, allocations: 8 kB / 1.462 GB, free: 9.906 MB / 1.17 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008007/1.049, allocations: 4.539 MB / 1.466 GB, free: 5.344 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.531e-05/1.049, allocations: 14.34 kB / 1.466 GB, free: 5.332 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.031e-05/1.049, allocations: 28.84 kB / 1.466 GB, free: 5.305 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003734/1.053, allocations: 1.576 MB / 1.468 GB, free: 3.719 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/1.054, allocations: 355.4 kB / 1.468 GB, free: 3.371 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0246/1.078, allocations: 18.6 MB / 1.486 GB, free: 220 kB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001671/1.08, allocations: 119.9 kB / 1.486 GB, free: 100 kB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000161/1.08, allocations: 92 kB / 1.487 GB, free: 8 kB / 1.186 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.003161/1.083, allocations: 1.903 MB / 1.488 GB, free: 14.09 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004611/1.084, allocations: 234.5 kB / 1.489 GB, free: 13.86 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007311/1.091, allocations: 4.039 MB / 1.493 GB, free: 9.793 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-05/1.091, allocations: 20 kB / 1.493 GB, free: 9.773 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.289e-05/1.091, allocations: 19.98 kB / 1.493 GB, free: 9.754 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.185e-05/1.091, allocations: 15.91 kB / 1.493 GB, free: 9.738 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01706/1.108, allocations: 9.411 MB / 1.502 GB, free: 80 kB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.858e-06/1.108, allocations: 4 kB / 1.502 GB, free: 76 kB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007992/1.109, allocations: 183.7 kB / 1.502 GB, free: 15.89 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003379/1.113, allocations: 1.353 MB / 1.503 GB, free: 14.53 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001271/1.113, allocations: 36.25 kB / 1.503 GB, free: 14.5 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02285/1.136, allocations: 17.36 MB / 1.52 GB, free: 12.57 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.035e-05/1.136, allocations: 12.05 kB / 1.52 GB, free: 12.56 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007158/1.143, allocations: 4.048 MB / 1.524 GB, free: 8.418 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001352/1.144, allocations: 0.5385 MB / 1.525 GB, free: 7.859 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002522/1.144, allocations: 36 kB / 1.525 GB, free: 7.824 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008838/1.145, allocations: 87.89 kB / 1.525 GB, free: 7.738 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004106/1.146, allocations: 157.7 kB / 1.525 GB, free: 7.582 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/1.146, allocations: 48 kB / 1.525 GB, free: 7.535 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001478/1.147, allocations: 1.008 MB / 1.526 GB, free: 6.504 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/1.147, allocations: 0 / 1.526 GB, free: 6.504 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.002914/1.15, allocations: 0.9883 MB / 1.527 GB, free: 5.516 MB / 1.232 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.007118/1.157, allocations: 4.629 MB / 1.532 GB, free: 0.7969 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.006995/1.164, allocations: 4.163 MB / 1.536 GB, free: 12.58 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/1.164, allocations: 0 / 1.536 GB, free: 12.58 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0043/1.169, allocations: 2.584 MB / 1.538 GB, free: 9.957 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003091/1.172, allocations: 0.7805 MB / 1.539 GB, free: 9.203 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04382/1.215, allocations: 26.88 MB / 1.565 GB, free: 13.24 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004565/1.22, allocations: 3.565 MB / 1.569 GB, free: 9.641 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001435/1.221, allocations: 471.9 kB / 1.569 GB, free: 9.176 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0021/1.224, allocations: 1.784 MB / 1.571 GB, free: 7.391 MB / 1.279 GB Notification: Performance of SimCode: time 8.32e-07/1.224, allocations: 0 / 1.571 GB, free: 7.391 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6981/1.922, allocations: 74.41 MB / 1.644 GB, free: 310.5 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.7/15.63, allocations: 10.05 kB / 1.644 GB, free: 310.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.177869029343128]