Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) 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_RLC_N,fileNamePrefix="Buildings_11_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_11_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.00121/0.00121, allocations: 108 kB / 15.61 MB, free: 152 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.001136/0.001136, allocations: 194.7 kB / 16.53 MB, free: 6.664 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.289/1.289, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.777/2.777, allocations: 469.8 MB / 0.7424 GB, free: 7.438 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 67 kB / 0.9087 GB, free: 34.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.2599, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04793/0.3078, allocations: 41.19 MB / 1.104 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02506/0.3329, allocations: 15.07 MB / 1.119 GB, free: 5.773 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003535/0.3365, allocations: 195 kB / 1.119 GB, free: 5.582 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.01081/0.3473, allocations: 4.462 MB / 1.124 GB, free: 1.109 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.006966/0.3543, allocations: 2.79 MB / 1.126 GB, free: 14.3 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00717/0.3615, allocations: 3.159 MB / 1.129 GB, free: 11.14 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0132/0.3747, allocations: 11.39 MB / 1.141 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01686/0.3916, allocations: 12.64 MB / 1.153 GB, free: 2.949 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007416/0.399, allocations: 4.795 MB / 1.158 GB, free: 14.14 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008421/0.4075, allocations: 5.386 MB / 1.163 GB, free: 8.738 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.002274/0.4098, allocations: 0.9492 MB / 1.164 GB, free: 7.789 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004745/0.4145, allocations: 2.04 MB / 1.166 GB, free: 5.746 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.004276/0.4188, allocations: 3.695 MB / 1.169 GB, free: 2.043 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.006254/0.4251, allocations: 4.295 MB / 1.174 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01528/0.4404, allocations: 14.19 MB / 1.187 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.4404, allocations: 0 / 1.187 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4404, allocations: 0 / 1.187 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0003629/0.4408, allocations: 0 / 1.187 GB, free: 15.5 MB / 0.9512 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.01924/0.4601, allocations: 7.6 MB / 1.195 GB, free: 7.816 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.4601, allocations: 12.03 kB / 1.195 GB, free: 7.805 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00149/0.4616, allocations: 0.8916 MB / 1.196 GB, free: 6.902 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009553/0.4712, allocations: 1.522 MB / 1.197 GB, free: 5.371 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008117/0.4793, allocations: 4.213 MB / 1.201 GB, free: 1.082 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003549/0.4797, allocations: 452.5 kB / 1.202 GB, free: 0.6367 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001378/0.4811, allocations: 0.5939 MB / 1.202 GB, free: 44 kB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0198/0.5009, allocations: 10.68 MB / 1.213 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001545/0.5011, allocations: 31.78 kB / 1.213 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008313/0.5019, allocations: 255.9 kB / 1.213 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003113/0.505, allocations: 0.7768 MB / 1.214 GB, free: 3.922 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01736/0.5224, allocations: 8.557 MB / 1.222 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4996/1.022, allocations: 46.86 MB / 1.268 GB, free: 143.8 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005545/1.028, allocations: 4.304 MB / 1.272 GB, free: 143.6 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005352/1.033, allocations: 3.704 MB / 1.276 GB, free: 142.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003142/1.033, allocations: 35.97 kB / 1.276 GB, free: 142.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.525e-05/1.033, allocations: 80.16 kB / 1.276 GB, free: 142.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=353): time 5.691e-06/1.033, allocations: 0 / 1.276 GB, free: 142.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=578): time 0.456/1.489, allocations: 122.8 MB / 1.396 GB, free: 47.01 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/1.49, allocations: 111.9 kB / 1.396 GB, free: 46.88 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00277/1.492, allocations: 2.681 MB / 1.398 GB, free: 44.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0007167/1.493, allocations: 125.7 kB / 1.399 GB, free: 44.07 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009808/1.494, allocations: 2.678 MB / 1.401 GB, free: 41.38 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00138/1.495, allocations: 1.945 MB / 1.403 GB, free: 39.45 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001675/1.497, allocations: 0.9248 MB / 1.404 GB, free: 38.51 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.716e-05/1.497, allocations: 309.1 kB / 1.404 GB, free: 38.21 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005068/1.502, allocations: 4.08 MB / 1.408 GB, free: 34.12 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005283/1.508, allocations: 5.02 MB / 1.413 GB, free: 28.78 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01054/1.518, allocations: 9.848 MB / 1.423 GB, free: 18.55 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.291e-05/1.518, allocations: 4 kB / 1.423 GB, free: 18.55 MB / 0.9981 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.03173/1.55, allocations: 17 MB / 1.439 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.407e-05/1.55, allocations: 19.98 kB / 1.439 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.643e-05/1.55, allocations: 20 kB / 1.439 GB, free: 1.379 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03164/1.582, allocations: 9.149 MB / 1.448 GB, free: 8.184 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002436/1.584, allocations: 0.5226 MB / 1.449 GB, free: 7.66 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1099/1.694, allocations: 77.02 MB / 1.524 GB, free: 9.098 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004666/1.699, allocations: 287.7 kB / 1.524 GB, free: 8.816 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007477/1.7, allocations: 188 kB / 1.525 GB, free: 8.633 MB / 1.092 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.004218/1.704, allocations: 2.417 MB / 1.527 GB, free: 6.203 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001109/1.705, allocations: 477.8 kB / 1.527 GB, free: 5.734 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03749/1.742, allocations: 16.83 MB / 1.544 GB, free: 4.762 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.348e-05/1.742, allocations: 52 kB / 1.544 GB, free: 4.711 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001568/1.743, allocations: 75.94 kB / 1.544 GB, free: 4.637 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.526e-05/1.743, allocations: 27.89 kB / 1.544 GB, free: 4.609 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05418/1.797, allocations: 25.66 MB / 1.569 GB, free: 10.72 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.254e-05/1.797, allocations: 4 kB / 1.569 GB, free: 10.72 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001797/1.799, allocations: 323.5 kB / 1.569 GB, free: 10.4 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02836/1.827, allocations: 8.337 MB / 1.577 GB, free: 2.023 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008473/1.828, allocations: 108 kB / 1.578 GB, free: 1.918 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1023/1.93, allocations: 73.89 MB / 1.65 GB, free: 6.488 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/1.93, allocations: 8 kB / 1.65 GB, free: 6.48 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03986/1.97, allocations: 21.57 MB / 1.671 GB, free: 0.5586 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002692/1.973, allocations: 1.358 MB / 1.672 GB, free: 15.18 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007107/1.974, allocations: 104 kB / 1.672 GB, free: 15.07 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002969/1.977, allocations: 295.6 kB / 1.673 GB, free: 14.79 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001667/1.978, allocations: 0.5221 MB / 1.673 GB, free: 14.26 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003742/1.979, allocations: 140 kB / 1.673 GB, free: 14.12 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.002388/1.981, allocations: 1.776 MB / 1.675 GB, free: 12.36 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.1e-07/1.981, allocations: 0 / 1.675 GB, free: 12.36 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.005744/1.987, allocations: 2.465 MB / 1.677 GB, free: 9.891 MB / 1.248 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.04006/2.027, allocations: 22.27 MB / 1.699 GB, free: 3.254 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.03251/2.059, allocations: 18.67 MB / 1.717 GB, free: 408 kB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/2.06, allocations: 4 kB / 1.717 GB, free: 404 kB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.01638/2.076, allocations: 9.351 MB / 1.726 GB, free: 6.898 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00523/2.081, allocations: 1.38 MB / 1.728 GB, free: 5.562 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5338/2.615, allocations: 79.85 MB / 1.806 GB, free: 402.8 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004316/2.619, allocations: 4.902 MB / 1.811 GB, free: 401.2 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.00239/2.622, allocations: 0.7434 MB / 1.811 GB, free: 401 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002045/2.624, allocations: 2.611 MB / 1.814 GB, free: 398.8 MB / 1.295 GB Notification: Performance of SimCode: time 1.493e-06/2.624, allocations: 0 / 1.814 GB, free: 398.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.175/3.799, allocations: 196.9 MB / 2.006 GB, free: 215.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.06/18.86, allocations: 7.469 kB / 2.006 GB, free: 215.1 MB / 1.295 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches