Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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.001749/0.001749, allocations: 118.9 kB / 17.17 MB, free: 5.977 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.00212/0.00212, allocations: 211.3 kB / 20.13 MB, free: 3.035 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.518/1.518, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.968/2.968, allocations: 0.49 GB / 0.7923 GB, free: 1.297 MB / 0.6231 GB " [Timeout remaining time 176] 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.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="cs",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.001992/0.001992, allocations: 67.91 kB / 1.15 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9228/0.9248, allocations: 176.1 MB / 1.321 GB, free: 24.86 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03417/0.9589, allocations: 35.47 MB / 1.356 GB, free: 1.121 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02193/0.9809, allocations: 11.67 MB / 1.368 GB, free: 9.152 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004127/0.985, allocations: 209.7 kB / 1.368 GB, free: 9.055 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.01295/0.9979, allocations: 4.32 MB / 1.372 GB, free: 6.484 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.008751/1.007, allocations: 2.084 MB / 1.374 GB, free: 5.207 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.008097/1.015, allocations: 2.417 MB / 1.376 GB, free: 3.848 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01297/1.028, allocations: 8.458 MB / 1.385 GB, free: 68 kB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01629/1.044, allocations: 8.41 MB / 1.393 GB, free: 12.69 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009014/1.053, allocations: 3.844 MB / 1.397 GB, free: 10.93 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009176/1.062, allocations: 4.422 MB / 1.401 GB, free: 9.094 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.003039/1.065, allocations: 0.7832 MB / 1.402 GB, free: 9.09 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006969/1.072, allocations: 2.065 MB / 1.404 GB, free: 8.59 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.007137/1.079, allocations: 3.139 MB / 1.407 GB, free: 7.242 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.01083/1.09, allocations: 3.398 MB / 1.41 GB, free: 5.031 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.02222/1.112, allocations: 12.01 MB / 1.422 GB, free: 13.68 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/1.112, allocations: 0 / 1.422 GB, free: 13.68 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.204e-06/1.112, allocations: 0 / 1.422 GB, free: 13.68 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0004503/1.113, allocations: 1.031 kB / 1.422 GB, free: 13.68 MB / 1.107 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.02105/1.134, allocations: 5.945 MB / 1.428 GB, free: 9.664 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/1.134, allocations: 13.52 kB / 1.428 GB, free: 9.66 MB / 1.107 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003016/1.134, allocations: 155.6 kB / 1.428 GB, free: 9.641 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003827/1.138, allocations: 0.8019 MB / 1.429 GB, free: 9.074 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009135/1.147, allocations: 1.088 MB / 1.43 GB, free: 8.531 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01042/1.158, allocations: 3.467 MB / 1.433 GB, free: 6.305 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006008/1.158, allocations: 413.8 kB / 1.433 GB, free: 6.117 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002543/1.161, allocations: 0.5349 MB / 1.434 GB, free: 5.934 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02661/1.187, allocations: 9.084 MB / 1.443 GB, free: 13.05 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003559/1.188, allocations: 39.69 kB / 1.443 GB, free: 13.02 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00268/1.19, allocations: 232 kB / 1.443 GB, free: 12.79 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005476/1.191, allocations: 358.7 kB / 1.443 GB, free: 12.44 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02001/1.211, allocations: 6.818 MB / 1.45 GB, free: 5.609 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05906/1.27, allocations: 39.86 MB / 1.489 GB, free: 10.04 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004407/1.274, allocations: 2.907 MB / 1.492 GB, free: 6.992 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002932/1.277, allocations: 1.786 MB / 1.494 GB, free: 5.203 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001377/1.278, allocations: 25.94 kB / 1.494 GB, free: 5.176 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.607e-05/1.278, allocations: 48.56 kB / 1.494 GB, free: 5.121 MB / 1.17 GB Notification: Performance of pre-optimization done (n=179): time 3.767e-06/1.278, allocations: 0 / 1.494 GB, free: 5.121 MB / 1.17 GB Notification: Performance of matching and sorting (n=182): time 0.02856/1.306, allocations: 10 MB / 1.503 GB, free: 11.03 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.55e-05/1.306, allocations: 73.34 kB / 1.503 GB, free: 10.94 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002654/1.309, allocations: 1.526 MB / 1.505 GB, free: 9.371 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0002/1.309, allocations: 57.69 kB / 1.505 GB, free: 9.309 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001799/1.311, allocations: 2.32 MB / 1.507 GB, free: 6.965 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007581/1.312, allocations: 0.6584 MB / 1.508 GB, free: 6.301 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008395/1.312, allocations: 416 kB / 1.508 GB, free: 5.887 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001343/1.313, allocations: 305.1 kB / 1.509 GB, free: 5.586 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001948/1.315, allocations: 1.183 MB / 1.51 GB, free: 4.398 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002652/1.317, allocations: 1.877 MB / 1.512 GB, free: 2.203 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004716/1.322, allocations: 3.375 MB / 1.515 GB, free: 14.52 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.589e-05/1.322, allocations: 4 kB / 1.515 GB, free: 14.52 MB / 1.201 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008679/1.331, allocations: 4.531 MB / 1.519 GB, free: 9.961 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.915e-05/1.331, allocations: 16 kB / 1.519 GB, free: 9.945 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.931e-05/1.331, allocations: 20 kB / 1.519 GB, free: 9.926 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004247/1.335, allocations: 1.591 MB / 1.521 GB, free: 8.328 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/1.336, allocations: 351.4 kB / 1.521 GB, free: 7.984 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02841/1.365, allocations: 18.6 MB / 1.539 GB, free: 4.832 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003009/1.368, allocations: 119.9 kB / 1.54 GB, free: 4.715 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000681/1.368, allocations: 95.98 kB / 1.54 GB, free: 4.621 MB / 1.217 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.005549/1.374, allocations: 1.891 MB / 1.541 GB, free: 2.719 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009255/1.375, allocations: 238.5 kB / 1.542 GB, free: 2.484 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008846/1.384, allocations: 4.04 MB / 1.546 GB, free: 14.41 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.42e-05/1.384, allocations: 16 kB / 1.546 GB, free: 14.39 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-05/1.384, allocations: 20 kB / 1.546 GB, free: 14.38 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.954e-05/1.384, allocations: 11.91 kB / 1.546 GB, free: 14.36 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02192/1.406, allocations: 9.422 MB / 1.555 GB, free: 4.699 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-05/1.406, allocations: 11.92 kB / 1.555 GB, free: 4.688 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009424/1.407, allocations: 184 kB / 1.555 GB, free: 4.508 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003892/1.411, allocations: 1.35 MB / 1.556 GB, free: 3.148 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001739/1.411, allocations: 40 kB / 1.556 GB, free: 3.109 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0256/1.436, allocations: 17.38 MB / 1.573 GB, free: 1.168 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.794e-06/1.436, allocations: 4 kB / 1.573 GB, free: 1.164 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008708/1.445, allocations: 4.036 MB / 1.577 GB, free: 13.03 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001725/1.447, allocations: 0.5346 MB / 1.578 GB, free: 12.48 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008076/1.448, allocations: 36 kB / 1.578 GB, free: 12.44 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00169/1.449, allocations: 87.89 kB / 1.578 GB, free: 12.36 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006067/1.45, allocations: 157.7 kB / 1.578 GB, free: 12.2 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001698/1.45, allocations: 52 kB / 1.578 GB, free: 12.15 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.002159/1.452, allocations: 1.005 MB / 1.579 GB, free: 11.12 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.1e-07/1.452, allocations: 0 / 1.579 GB, free: 11.12 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.004744/1.457, allocations: 0.9921 MB / 1.58 GB, free: 10.13 MB / 1.264 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.008494/1.466, allocations: 4.632 MB / 1.585 GB, free: 5.406 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.008237/1.474, allocations: 4.159 MB / 1.589 GB, free: 1.191 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/1.474, allocations: 0 / 1.589 GB, free: 1.191 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.004936/1.479, allocations: 2.588 MB / 1.591 GB, free: 14.56 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004886/1.484, allocations: 0.7816 MB / 1.592 GB, free: 13.8 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05585/1.54, allocations: 26.87 MB / 1.618 GB, free: 1.852 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007515/1.547, allocations: 3.577 MB / 1.622 GB, free: 14.24 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.001937/1.549, allocations: 467.9 kB / 1.622 GB, free: 13.78 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002938/1.552, allocations: 1.788 MB / 1.624 GB, free: 11.99 MB / 1.311 GB Notification: Performance of SimCode: time 1.723e-06/1.552, allocations: 0 / 1.624 GB, free: 11.99 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1565/1.708, allocations: 74.49 MB / 1.697 GB, free: 2.258 MB / 1.373 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.08/15.79, allocations: 11.78 kB / 1.697 GB, free: 2.246 MB / 1.373 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 23.582541273965035]