Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_RLC_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 195.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.545/2.545, allocations: 437 MB / 0.7104 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 63.91 kB / 0.8694 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6939/0.6961, allocations: 151.6 MB / 1.017 GB, free: 2.461 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04599/0.7421, allocations: 41.18 MB / 1.058 GB, free: 9.141 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02912/0.7713, allocations: 15.08 MB / 1.072 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005687/0.777, allocations: 187.1 kB / 1.073 GB, free: 9.832 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.01184/0.789, allocations: 4.464 MB / 1.077 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.01056/0.7995, allocations: 2.798 MB / 1.08 GB, free: 2.547 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.009526/0.8091, allocations: 3.146 MB / 1.083 GB, free: 15.4 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0144/0.8235, allocations: 11.41 MB / 1.094 GB, free: 3.957 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0178/0.8413, allocations: 12.63 MB / 1.106 GB, free: 7.188 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00831/0.8497, allocations: 4.802 MB / 1.111 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009964/0.8597, allocations: 5.386 MB / 1.116 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.003782/0.8635, allocations: 0.9492 MB / 1.117 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008564/0.8721, allocations: 2.036 MB / 1.119 GB, free: 9.98 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.006257/0.8784, allocations: 3.684 MB / 1.123 GB, free: 6.289 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0106/0.889, allocations: 4.299 MB / 1.127 GB, free: 1.973 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.02069/0.9097, allocations: 14.18 MB / 1.141 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.9098, allocations: 3.938 kB / 1.141 GB, free: 3.746 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.575e-06/0.9098, allocations: 4 kB / 1.141 GB, free: 3.742 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0005785/0.9104, allocations: 0 / 1.141 GB, free: 3.742 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02643/0.9368, allocations: 7.593 MB / 1.148 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.791e-05/0.9369, allocations: 12.03 kB / 1.148 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0035/0.9404, allocations: 0.8994 MB / 1.149 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01254/0.953, allocations: 1.518 MB / 1.15 GB, free: 9.617 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01231/0.9653, allocations: 4.205 MB / 1.155 GB, free: 5.336 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004769/0.9659, allocations: 464.5 kB / 1.155 GB, free: 4.879 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002666/0.9685, allocations: 0.5901 MB / 1.156 GB, free: 4.289 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02324/0.9918, allocations: 10.69 MB / 1.166 GB, free: 9.223 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002069/0.992, allocations: 23.69 kB / 1.166 GB, free: 9.199 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001398/0.9935, allocations: 263.9 kB / 1.166 GB, free: 8.941 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003089/0.9966, allocations: 0.7807 MB / 1.167 GB, free: 8.156 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01801/1.015, allocations: 8.561 MB / 1.175 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06192/1.077, allocations: 46.84 MB / 1.221 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006304/1.083, allocations: 4.311 MB / 1.225 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005607/1.089, allocations: 3.708 MB / 1.229 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003532/1.089, allocations: 34.78 kB / 1.229 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.726e-05/1.089, allocations: 77.34 kB / 1.229 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=353): time 5.27e-06/1.089, allocations: 0 / 1.229 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of matching and sorting (n=578): time 1.052/2.141, allocations: 122.8 MB / 1.349 GB, free: 137.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.002e-05/2.142, allocations: 111.9 kB / 1.349 GB, free: 137.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004977/2.147, allocations: 2.685 MB / 1.352 GB, free: 134.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.001176/2.148, allocations: 121.7 kB / 1.352 GB, free: 134.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001382/2.149, allocations: 2.674 MB / 1.355 GB, free: 131.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002447/2.152, allocations: 1.955 MB / 1.356 GB, free: 129.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003295/2.155, allocations: 0.9287 MB / 1.357 GB, free: 128.7 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.458e-05/2.155, allocations: 301.1 kB / 1.358 GB, free: 128.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005742/2.161, allocations: 4.083 MB / 1.362 GB, free: 124.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006544/2.167, allocations: 5.015 MB / 1.367 GB, free: 119 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01375/2.181, allocations: 9.848 MB / 1.376 GB, free: 108.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.579e-05/2.181, allocations: 11.94 kB / 1.376 GB, free: 108.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03806/2.219, allocations: 16.99 MB / 1.393 GB, free: 91.61 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.139e-05/2.219, allocations: 16.06 kB / 1.393 GB, free: 91.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.531e-05/2.219, allocations: 24 kB / 1.393 GB, free: 91.57 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03144/2.251, allocations: 9.156 MB / 1.402 GB, free: 82.38 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002473/2.253, allocations: 0.5265 MB / 1.402 GB, free: 81.85 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09346/2.347, allocations: 77.02 MB / 1.477 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005532/2.352, allocations: 279.8 kB / 1.478 GB, free: 3.027 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001419/2.354, allocations: 191.9 kB / 1.478 GB, free: 2.84 MB / 0.9981 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004821/2.359, allocations: 2.421 MB / 1.48 GB, free: 416 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001621/2.36, allocations: 470.6 kB / 1.481 GB, free: 15.94 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04281/2.403, allocations: 16.82 MB / 1.497 GB, free: 14.98 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.916e-05/2.403, allocations: 56 kB / 1.497 GB, free: 14.92 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002153/2.403, allocations: 72 kB / 1.497 GB, free: 14.85 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.839e-05/2.404, allocations: 30.14 kB / 1.497 GB, free: 14.82 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05742/2.461, allocations: 25.65 MB / 1.522 GB, free: 4.93 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.656e-05/2.461, allocations: 8 kB / 1.522 GB, free: 4.922 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002343/2.463, allocations: 324.4 kB / 1.523 GB, free: 4.605 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03157/2.495, allocations: 8.328 MB / 1.531 GB, free: 12.24 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001485/2.497, allocations: 115.9 kB / 1.531 GB, free: 12.12 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1165/2.613, allocations: 73.88 MB / 1.603 GB, free: 0.707 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/2.613, allocations: 8 kB / 1.603 GB, free: 0.6992 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04926/2.662, allocations: 21.57 MB / 1.624 GB, free: 10.77 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004038/2.667, allocations: 1.354 MB / 1.625 GB, free: 9.391 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001846/2.668, allocations: 111.9 kB / 1.626 GB, free: 9.281 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004546/2.673, allocations: 287.6 kB / 1.626 GB, free: 9 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002267/2.675, allocations: 0.5258 MB / 1.626 GB, free: 8.469 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007268/2.676, allocations: 148 kB / 1.626 GB, free: 8.324 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002985/2.679, allocations: 1.776 MB / 1.628 GB, free: 6.559 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.71e-07/2.679, allocations: 0 / 1.628 GB, free: 6.559 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.008246/2.687, allocations: 2.461 MB / 1.631 GB, free: 4.098 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * 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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.04813/2.735, allocations: 22.27 MB / 1.652 GB, free: 13.46 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.03395/2.769, allocations: 18.67 MB / 1.671 GB, free: 10.61 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.258e-05/2.769, allocations: 4 kB / 1.671 GB, free: 10.61 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.01976/2.789, allocations: 9.36 MB / 1.68 GB, free: 1.109 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008261/2.798, allocations: 1.371 MB / 1.681 GB, free: 15.78 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6127/3.41, allocations: 79.86 MB / 1.759 GB, free: 395 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004813/3.415, allocations: 4.893 MB / 1.764 GB, free: 393.4 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.002616/3.418, allocations: 0.7417 MB / 1.765 GB, free: 393.3 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002247/3.42, allocations: 2.612 MB / 1.767 GB, free: 391.1 MB / 1.232 GB Notification: Performance of SimCode: time 6.92e-07/3.42, allocations: 0 / 1.767 GB, free: 391.1 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2375/3.658, allocations: 196.9 MB / 1.959 GB, free: 210.6 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.97/19.63, allocations: 10.78 kB / 1.959 GB, free: 210.5 MB / 1.232 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches