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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0007511/0.0007512, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004417/0.004417, allocations: 173 kB / 16.27 MB, free: 6.652 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.2/1.2, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.276/2.276, allocations: 437.8 MB / 0.7121 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003134/0.0003135, allocations: 12 kB / 0.873 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5294/0.5297, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.009762/0.5395, allocations: 9.529 MB / 1.032 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004504/0.544, allocations: 3.029 MB / 1.035 GB, free: 3.234 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006053/0.5447, allocations: 27.88 kB / 1.035 GB, free: 3.207 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004959/0.5452, allocations: 186.6 kB / 1.036 GB, free: 3.023 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001466/0.5466, allocations: 0.6459 MB / 1.036 GB, free: 2.375 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.5478, allocations: 0.5538 MB / 1.037 GB, free: 1.82 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.003502/0.5513, allocations: 4.06 MB / 1.041 GB, free: 13.75 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00372/0.5551, allocations: 3.11 MB / 1.044 GB, free: 10.58 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008778/0.556, allocations: 0.8327 MB / 1.045 GB, free: 9.746 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001303/0.5573, allocations: 1.281 MB / 1.046 GB, free: 8.461 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001519/0.5574, allocations: 104 kB / 1.046 GB, free: 8.359 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006916/0.5581, allocations: 451.2 kB / 1.046 GB, free: 7.918 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0006578/0.5588, allocations: 0.8418 MB / 1.047 GB, free: 7.074 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0007234/0.5595, allocations: 0.8841 MB / 1.048 GB, free: 6.18 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002352/0.5619, allocations: 3.261 MB / 1.051 GB, free: 2.91 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.5619, allocations: 4 kB / 1.051 GB, free: 2.906 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5619, allocations: 0 / 1.051 GB, free: 2.906 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.57e-05/0.5619, allocations: 0 / 1.051 GB, free: 2.906 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.00241/0.5643, allocations: 1.589 MB / 1.053 GB, free: 1.262 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.5644, allocations: 11.97 kB / 1.053 GB, free: 1.25 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002906/0.5647, allocations: 252.7 kB / 1.053 GB, free: 0.9922 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005232/0.5699, allocations: 0.8921 MB / 1.054 GB, free: 100 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001432/0.5714, allocations: 1.126 MB / 1.055 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.189e-05/0.5715, allocations: 111.3 kB / 1.055 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002474/0.5717, allocations: 144.3 kB / 1.055 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003852/0.5756, allocations: 3.017 MB / 1.058 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.632e-05/0.5756, allocations: 3.938 kB / 1.058 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001708/0.5758, allocations: 71.97 kB / 1.058 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000199/0.576, allocations: 175 kB / 1.058 GB, free: 11.32 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003496/0.5795, allocations: 2.608 MB / 1.061 GB, free: 8.703 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.01296/0.5925, allocations: 13.52 MB / 1.074 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001728/0.5942, allocations: 1.303 MB / 1.075 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001255/0.5955, allocations: 1.047 MB / 1.077 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.193e-05/0.5955, allocations: 8.656 kB / 1.077 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.5956, allocations: 39.22 kB / 1.077 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=82): time 2.394e-06/0.5956, allocations: 0 / 1.077 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of matching and sorting (n=139): time 0.07124/0.6668, allocations: 19.46 MB / 1.096 GB, free: 4.059 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.6669, allocations: 64.72 kB / 1.096 GB, free: 3.984 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.668, allocations: 0.9222 MB / 1.097 GB, free: 3.051 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.000114/0.6682, allocations: 49.7 kB / 1.097 GB, free: 2.996 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004232/0.6686, allocations: 0.7283 MB / 1.097 GB, free: 2.254 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.000391/0.669, allocations: 489 kB / 1.098 GB, free: 1.77 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002124/0.6692, allocations: 125.6 kB / 1.098 GB, free: 1.641 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.6693, allocations: 353.9 kB / 1.098 GB, free: 1.289 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001744/0.6711, allocations: 1.335 MB / 1.1 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001919/0.673, allocations: 1.655 MB / 1.101 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00372/0.6767, allocations: 3.092 MB / 1.104 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.884e-06/0.6768, allocations: 4 kB / 1.104 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01087/0.6876, allocations: 5.637 MB / 1.11 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.6877, allocations: 17.97 kB / 1.11 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/0.6877, allocations: 8 kB / 1.11 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00838/0.6961, allocations: 2.711 MB / 1.112 GB, free: 2.551 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007211/0.6968, allocations: 195.7 kB / 1.113 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03068/0.7275, allocations: 23.33 MB / 1.135 GB, free: 10.48 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.7289, allocations: 99.94 kB / 1.135 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001899/0.7291, allocations: 60 kB / 1.135 GB, free: 10.32 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.001111/0.7302, allocations: 0.7281 MB / 1.136 GB, free: 9.586 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002413/0.7304, allocations: 118.6 kB / 1.136 GB, free: 9.469 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01078/0.7412, allocations: 5.392 MB / 1.142 GB, free: 4.047 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/0.7413, allocations: 16 kB / 1.142 GB, free: 4.031 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.212e-05/0.7413, allocations: 16 kB / 1.142 GB, free: 4.016 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/0.7413, allocations: 3.984 kB / 1.142 GB, free: 4.012 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0147/0.756, allocations: 8.621 MB / 1.15 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.466e-05/0.7561, allocations: 12.39 kB / 1.15 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004194/0.7565, allocations: 123.7 kB / 1.15 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007941/0.7644, allocations: 2.556 MB / 1.153 GB, free: 8.566 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001123/0.7646, allocations: 36 kB / 1.153 GB, free: 8.531 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02787/0.7924, allocations: 20.86 MB / 1.173 GB, free: 3.117 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.7925, allocations: 4 kB / 1.173 GB, free: 3.113 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00997/0.8024, allocations: 5.127 MB / 1.178 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007391/0.8032, allocations: 487.4 kB / 1.178 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002196/0.8034, allocations: 24 kB / 1.179 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009217/0.8044, allocations: 79.91 kB / 1.179 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000441/0.8048, allocations: 125 kB / 1.179 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.442e-05/0.8049, allocations: 36 kB / 1.179 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000776/0.8057, allocations: 0.6434 MB / 1.179 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.8057, allocations: 0 / 1.179 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002047/0.8078, allocations: 0.7188 MB / 1.18 GB, free: 11.79 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.01019/0.8179, allocations: 5.714 MB / 1.186 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.006355/0.8243, allocations: 4.141 MB / 1.19 GB, free: 1.789 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/0.8243, allocations: 4.375 kB / 1.19 GB, free: 1.785 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.004633/0.829, allocations: 2.662 MB / 1.192 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001529/0.8305, allocations: 221.3 kB / 1.193 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03462/0.8651, allocations: 22.57 MB / 1.215 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001463/0.8666, allocations: 1.708 MB / 1.216 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0007209/0.8674, allocations: 329.4 kB / 1.217 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005913/0.868, allocations: 0.5305 MB / 1.217 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of SimCode: time 6.01e-07/0.868, allocations: 4 kB / 1.217 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.11/4.978, allocations: 48.81 MB / 1.265 GB, free: 216.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002095/4.978, allocations: 256.3 kB / 1.265 GB, free: 216.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.283/7.261, allocations: 1.406 kB / 1.265 GB, free: 216.5 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