Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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_R,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.007847/0.007847, allocations: 96.64 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002134/0.002134, allocations: 195.5 kB / 16.67 MB, free: 5.973 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.299/1.299, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.393/2.393, allocations: 437.1 MB / 0.7106 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 67.89 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2456, allocations: 151.6 MB / 1.166 GB, free: 7.309 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03729/0.2829, allocations: 35.13 MB / 1.201 GB, free: 4.051 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01516/0.2981, allocations: 9.948 MB / 1.21 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001843/0.3, allocations: 147.2 kB / 1.21 GB, free: 9.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.008039/0.308, allocations: 3.807 MB / 1.214 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004178/0.3122, allocations: 2.036 MB / 1.216 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003888/0.3161, allocations: 1.958 MB / 1.218 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.007954/0.3241, allocations: 7.97 MB / 1.226 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009699/0.3338, allocations: 9.53 MB / 1.235 GB, free: 480 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00416/0.338, allocations: 3.373 MB / 1.238 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004283/0.3423, allocations: 3.738 MB / 1.242 GB, free: 9.336 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000844/0.3431, allocations: 0.6758 MB / 1.243 GB, free: 8.66 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002357/0.3455, allocations: 1.44 MB / 1.244 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002255/0.3477, allocations: 2.624 MB / 1.247 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002941/0.3507, allocations: 3.104 MB / 1.25 GB, free: 1.473 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.4866/0.8373, allocations: 10.41 MB / 1.26 GB, free: 32.46 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.8373, allocations: 0 / 1.26 GB, free: 32.46 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.372e-06/0.8374, allocations: 0.625 kB / 1.26 GB, free: 32.46 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002386/0.8376, allocations: 0 / 1.26 GB, free: 32.46 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01153/0.8491, allocations: 5.529 MB / 1.265 GB, free: 30.33 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.8492, allocations: 10.59 kB / 1.265 GB, free: 30.33 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001061/0.8503, allocations: 0.6996 MB / 1.266 GB, free: 30.26 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004714/0.855, allocations: 0.9935 MB / 1.267 GB, free: 29.96 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004788/0.8598, allocations: 3.2 MB / 1.27 GB, free: 29.27 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002025/0.86, allocations: 357.9 kB / 1.27 GB, free: 29.26 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000669/0.8607, allocations: 470.5 kB / 1.271 GB, free: 29.26 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01128/0.8719, allocations: 7.904 MB / 1.279 GB, free: 28.2 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001/0.8721, allocations: 14.56 kB / 1.279 GB, free: 28.2 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005078/0.8726, allocations: 210.8 kB / 1.279 GB, free: 28.2 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004656/0.873, allocations: 370.1 kB / 1.279 GB, free: 28.18 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008821/0.8819, allocations: 5.936 MB / 1.285 GB, free: 28.13 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02527/0.9072, allocations: 36.02 MB / 1.32 GB, free: 14.93 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002947/0.9102, allocations: 2.135 MB / 1.322 GB, free: 14.13 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001707/0.9119, allocations: 1.482 MB / 1.324 GB, free: 13.57 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.029e-05/0.912, allocations: 16.69 kB / 1.324 GB, free: 13.57 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.694e-05/0.912, allocations: 55.91 kB / 1.324 GB, free: 13.51 MB / 1.014 GB Notification: Performance of pre-optimization done (n=157): time 2.785e-06/0.912, allocations: 0 / 1.324 GB, free: 13.51 MB / 1.014 GB Notification: Performance of matching and sorting (n=160): time 0.01293/0.925, allocations: 7.596 MB / 1.331 GB, free: 9.336 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.925, allocations: 68.88 kB / 1.331 GB, free: 9.273 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002352/0.9274, allocations: 1.869 MB / 1.333 GB, free: 8.242 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001151/0.9275, allocations: 52.98 kB / 1.333 GB, free: 8.191 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001422/0.929, allocations: 2.189 MB / 1.335 GB, free: 6.273 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004787/0.9294, allocations: 0.5852 MB / 1.336 GB, free: 5.77 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006196/0.9301, allocations: 405.8 kB / 1.336 GB, free: 5.539 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.9302, allocations: 302.3 kB / 1.336 GB, free: 5.242 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001414/0.9316, allocations: 1.062 MB / 1.337 GB, free: 4.688 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001886/0.9335, allocations: 1.768 MB / 1.339 GB, free: 3.207 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003481/0.937, allocations: 3.05 MB / 1.342 GB, free: 1.094 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/0.937, allocations: 7.781 kB / 1.342 GB, free: 1.094 MB / 1.014 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.005693/0.9427, allocations: 3.928 MB / 1.346 GB, free: 15.12 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.846e-05/0.9427, allocations: 18.58 kB / 1.346 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.182e-05/0.9428, allocations: 26.73 kB / 1.346 GB, free: 15.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00218/0.945, allocations: 0.9336 MB / 1.347 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/0.9462, allocations: 428.2 kB / 1.347 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0192/0.9654, allocations: 22.77 MB / 1.37 GB, free: 9.734 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002248/0.9677, allocations: 125.2 kB / 1.37 GB, free: 9.668 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001577/0.9679, allocations: 95.11 kB / 1.37 GB, free: 9.648 MB / 1.045 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002827/0.9707, allocations: 1.651 MB / 1.371 GB, free: 8.656 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004472/0.9712, allocations: 266.9 kB / 1.372 GB, free: 8.52 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004752/0.9759, allocations: 3.265 MB / 1.375 GB, free: 6.602 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.976, allocations: 15.47 kB / 1.375 GB, free: 6.602 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.908e-06/0.976, allocations: 11.66 kB / 1.375 GB, free: 6.602 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.604e-05/0.976, allocations: 10.81 kB / 1.375 GB, free: 6.594 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01048/0.9865, allocations: 7.553 MB / 1.382 GB, free: 2.109 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.9865, allocations: 11.34 kB / 1.382 GB, free: 2.109 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008427/0.9873, allocations: 216.5 kB / 1.383 GB, free: 2.012 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002185/0.9895, allocations: 0.8939 MB / 1.383 GB, free: 1.09 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001062/0.9897, allocations: 32 kB / 1.383 GB, free: 1.059 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01999/1.01, allocations: 22.74 MB / 1.406 GB, free: 8.746 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/1.01, allocations: 8 kB / 1.406 GB, free: 8.738 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005436/1.015, allocations: 3.386 MB / 1.409 GB, free: 5.277 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001044/1.016, allocations: 0.5422 MB / 1.409 GB, free: 4.715 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002881/1.016, allocations: 35.98 kB / 1.41 GB, free: 4.68 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/1.017, allocations: 95.83 kB / 1.41 GB, free: 4.586 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003363/1.018, allocations: 144.1 kB / 1.41 GB, free: 4.453 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000115/1.018, allocations: 44 kB / 1.41 GB, free: 4.41 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001603/1.02, allocations: 1.225 MB / 1.411 GB, free: 3.172 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.51e-07/1.02, allocations: 0 / 1.411 GB, free: 3.172 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002769/1.022, allocations: 0.9062 MB / 1.412 GB, free: 2.266 MB / 1.076 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 (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005267/1.028, allocations: 4.008 MB / 1.416 GB, free: 14.2 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.006144/1.034, allocations: 4.43 MB / 1.42 GB, free: 9.727 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 8.146e-06/1.034, allocations: 5 kB / 1.42 GB, free: 9.723 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.003963/1.038, allocations: 3.004 MB / 1.423 GB, free: 6.602 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003448/1.041, allocations: 0.834 MB / 1.424 GB, free: 5.797 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03499/1.076, allocations: 25.17 MB / 1.448 GB, free: 11.75 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003292/1.08, allocations: 3.21 MB / 1.452 GB, free: 8.516 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001501/1.081, allocations: 0.5215 MB / 1.452 GB, free: 7.988 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001817/1.083, allocations: 1.655 MB / 1.454 GB, free: 6.332 MB / 1.123 GB Notification: Performance of SimCode: time 3.91e-07/1.083, allocations: 0 / 1.454 GB, free: 6.332 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 17.21/18.29, allocations: 70.26 MB / 1.522 GB, free: 1.145 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.55/32.84, allocations: 14.66 kB / 1.522 GB, free: 1.133 MB / 1.186 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches