Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.ACLineMatrix_RLC,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC",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.00148/0.00148, 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.001324/0.001324, allocations: 196.6 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.35/1.35, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.634/2.634, allocations: 437 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 63.91 kB / 0.8694 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5538/0.5553, allocations: 151.6 MB / 1.017 GB, free: 2.625 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01203/0.5674, allocations: 10.02 MB / 1.027 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.005266/0.5727, allocations: 3.041 MB / 1.03 GB, free: 5.516 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008039/0.5735, allocations: 43.81 kB / 1.03 GB, free: 5.473 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001948/0.5755, allocations: 0.6703 MB / 1.031 GB, free: 4.801 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001604/0.5771, allocations: 0.6999 MB / 1.032 GB, free: 4.098 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001456/0.5785, allocations: 0.6326 MB / 1.032 GB, free: 3.465 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002846/0.5814, allocations: 2.742 MB / 1.035 GB, free: 0.7148 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003187/0.5846, allocations: 2.552 MB / 1.037 GB, free: 14.12 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001725/0.5863, allocations: 1.118 MB / 1.038 GB, free: 13 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001929/0.5883, allocations: 1.387 MB / 1.04 GB, free: 11.61 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0005448/0.5888, allocations: 216 kB / 1.04 GB, free: 11.39 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001137/0.59, allocations: 491.4 kB / 1.04 GB, free: 10.91 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001034/0.591, allocations: 0.9824 MB / 1.041 GB, free: 9.93 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001343/0.5924, allocations: 1.008 MB / 1.042 GB, free: 8.918 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002949/0.5953, allocations: 3.393 MB / 1.046 GB, free: 5.516 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.5954, allocations: 0 / 1.046 GB, free: 5.516 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.916e-06/0.5954, allocations: 0 / 1.046 GB, free: 5.516 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.827e-05/0.5954, allocations: 3.938 kB / 1.046 GB, free: 5.512 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.003815/0.5993, allocations: 1.944 MB / 1.048 GB, free: 3.512 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.5993, allocations: 8.031 kB / 1.048 GB, free: 3.504 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003019/0.5996, allocations: 252.7 kB / 1.048 GB, free: 3.246 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005843/0.6055, allocations: 0.8844 MB / 1.049 GB, free: 2.359 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001753/0.6072, allocations: 1.118 MB / 1.05 GB, free: 1.199 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.229e-05/0.6073, allocations: 107.3 kB / 1.05 GB, free: 1.094 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002837/0.6076, allocations: 148.3 kB / 1.05 GB, free: 0.9492 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004213/0.6118, allocations: 3.017 MB / 1.053 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.452e-05/0.6119, allocations: 8 kB / 1.053 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001925/0.6121, allocations: 63.97 kB / 1.053 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001996/0.6123, allocations: 178.9 kB / 1.053 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003853/0.6162, allocations: 2.608 MB / 1.056 GB, free: 10.97 MB / 0.8106 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01463/0.6308, allocations: 13.56 MB / 1.069 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001906/0.6327, allocations: 1.292 MB / 1.07 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001336/0.6341, allocations: 1.055 MB / 1.071 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.171e-05/0.6342, allocations: 8.656 kB / 1.071 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.6342, allocations: 47.16 kB / 1.071 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=82): time 2.385e-06/0.6342, allocations: 4 kB / 1.071 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of matching and sorting (n=139): time 0.07656/0.7108, allocations: 19.38 MB / 1.09 GB, free: 6.355 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.7108, allocations: 68.72 kB / 1.09 GB, free: 6.277 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.712, allocations: 0.9144 MB / 1.091 GB, free: 5.355 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001178/0.7121, allocations: 49.7 kB / 1.091 GB, free: 5.301 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004548/0.7126, allocations: 0.7283 MB / 1.092 GB, free: 4.559 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004076/0.713, allocations: 489 kB / 1.093 GB, free: 4.074 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005546/0.7136, allocations: 295.4 kB / 1.093 GB, free: 3.777 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.7137, allocations: 353.9 kB / 1.093 GB, free: 3.426 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001801/0.7155, allocations: 1.335 MB / 1.094 GB, free: 2.09 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001979/0.7175, allocations: 1.662 MB / 1.096 GB, free: 316 kB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003899/0.7214, allocations: 3.087 MB / 1.099 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.7214, allocations: 3.938 kB / 1.099 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01169/0.7331, allocations: 5.638 MB / 1.105 GB, free: 7.434 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.7332, allocations: 11.94 kB / 1.105 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/0.7332, allocations: 8 kB / 1.105 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00896/0.7422, allocations: 2.736 MB / 1.107 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008144/0.743, allocations: 203.6 kB / 1.107 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03508/0.7781, allocations: 25.73 MB / 1.133 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/0.7795, allocations: 91.89 kB / 1.133 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001926/0.7798, allocations: 55.98 kB / 1.133 GB, free: 10.03 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * 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,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001092/0.7809, allocations: 0.7393 MB / 1.133 GB, free: 9.281 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000258/0.7811, allocations: 114.6 kB / 1.134 GB, free: 9.168 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01111/0.7923, allocations: 5.388 MB / 1.139 GB, free: 3.754 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.23e-05/0.7923, allocations: 16 kB / 1.139 GB, free: 3.738 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.293e-05/0.7923, allocations: 20 kB / 1.139 GB, free: 3.719 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.415e-05/0.7923, allocations: 7.969 kB / 1.139 GB, free: 3.711 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01612/0.8085, allocations: 8.652 MB / 1.147 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.546e-05/0.8085, allocations: 4 kB / 1.147 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005014/0.809, allocations: 119.8 kB / 1.147 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008686/0.8177, allocations: 2.556 MB / 1.15 GB, free: 8.246 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001519/0.8179, allocations: 32 kB / 1.15 GB, free: 8.215 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03272/0.8506, allocations: 23.01 MB / 1.172 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.8507, allocations: 4 kB / 1.172 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01095/0.8616, allocations: 5.138 MB / 1.177 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009341/0.8626, allocations: 479.6 kB / 1.178 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003189/0.8629, allocations: 28 kB / 1.178 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/0.864, allocations: 75.91 kB / 1.178 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005098/0.8645, allocations: 121 kB / 1.178 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/0.8647, allocations: 40 kB / 1.178 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008529/0.8655, allocations: 0.6434 MB / 1.179 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8655, allocations: 0 / 1.179 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002379/0.8679, allocations: 0.7227 MB / 1.179 GB, free: 9.301 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * 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,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0111/0.879, allocations: 5.702 MB / 1.185 GB, free: 3.5 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.007925/0.887, allocations: 4.739 MB / 1.19 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.887, allocations: 0 / 1.19 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.005197/0.8922, allocations: 2.646 MB / 1.192 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/0.8938, allocations: 232.7 kB / 1.192 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0378/0.9316, allocations: 21.85 MB / 1.214 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001666/0.9333, allocations: 1.7 MB / 1.215 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007685/0.9341, allocations: 329.4 kB / 1.216 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006623/0.9348, allocations: 0.5383 MB / 1.216 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of SimCode: time 7.41e-07/0.9348, allocations: 0 / 1.216 GB, free: 2.738 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4904/1.425, allocations: 51.35 MB / 1.266 GB, free: 216.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.19/11.61, allocations: 14.83 kB / 1.266 GB, free: 216.4 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches