Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001333/0.001333, 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.00136/0.00136, allocations: 194.5 kB / 16.53 MB, free: 6.699 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.356/1.356, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.712/2.712, allocations: 461.9 MB / 0.7346 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 65.73 kB / 0.8992 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2511, allocations: 157.4 MB / 1.053 GB, free: 8.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01129/0.2625, allocations: 10.03 MB / 1.063 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004871/0.2674, allocations: 3.041 MB / 1.066 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000678/0.2681, allocations: 39.81 kB / 1.066 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001785/0.2699, allocations: 0.6842 MB / 1.066 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001464/0.2714, allocations: 0.6883 MB / 1.067 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001312/0.2727, allocations: 0.6424 MB / 1.068 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002461/0.2751, allocations: 2.738 MB / 1.07 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002517/0.2777, allocations: 2.547 MB / 1.073 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001319/0.279, allocations: 1.126 MB / 1.074 GB, free: 2.637 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001599/0.2806, allocations: 1.387 MB / 1.075 GB, free: 1.246 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002901/0.2809, allocations: 216 kB / 1.076 GB, free: 1.035 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008273/0.2818, allocations: 487.4 kB / 1.076 GB, free: 0.5586 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0007945/0.2826, allocations: 0.9824 MB / 1.077 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0009121/0.2835, allocations: 1.011 MB / 1.078 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00258/0.2861, allocations: 3.381 MB / 1.081 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2861, allocations: 4 kB / 1.081 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2861, allocations: 0 / 1.081 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.223e-05/0.2861, allocations: 0 / 1.081 GB, free: 11.16 MB / 0.8419 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.00308/0.2892, allocations: 1.951 MB / 1.083 GB, free: 9.156 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.2893, allocations: 12.61 kB / 1.083 GB, free: 9.145 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002862/0.2896, allocations: 240.8 kB / 1.083 GB, free: 8.898 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005992/0.2956, allocations: 0.896 MB / 1.084 GB, free: 8 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001644/0.2972, allocations: 1.114 MB / 1.085 GB, free: 6.844 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.767e-05/0.2973, allocations: 107.3 kB / 1.085 GB, free: 6.738 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002475/0.2976, allocations: 144.3 kB / 1.086 GB, free: 6.598 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004047/0.3016, allocations: 3.018 MB / 1.089 GB, free: 3.48 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.347e-05/0.3017, allocations: 7.984 kB / 1.089 GB, free: 3.473 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001839/0.3018, allocations: 67.97 kB / 1.089 GB, free: 3.406 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002175/0.3021, allocations: 182.9 kB / 1.089 GB, free: 3.227 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003856/0.3059, allocations: 2.604 MB / 1.091 GB, free: 0.6172 MB / 0.8419 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.01591/0.3219, allocations: 13.56 MB / 1.105 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002333/0.3242, allocations: 1.296 MB / 1.106 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001524/0.3258, allocations: 1.043 MB / 1.107 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 6.999e-05/0.3259, allocations: 12.66 kB / 1.107 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.447e-05/0.3259, allocations: 43.16 kB / 1.107 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=82): time 4.349e-06/0.3259, allocations: 0 / 1.107 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of matching and sorting (n=139): time 0.07732/0.4033, allocations: 19.39 MB / 1.126 GB, free: 12 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.158e-05/0.4034, allocations: 64.72 kB / 1.126 GB, free: 11.92 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/0.4047, allocations: 0.9222 MB / 1.127 GB, free: 10.99 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002021/0.4049, allocations: 45.7 kB / 1.127 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004623/0.4053, allocations: 0.7322 MB / 1.128 GB, free: 10.19 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005155/0.4059, allocations: 481 kB / 1.128 GB, free: 9.715 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006378/0.4065, allocations: 295.3 kB / 1.128 GB, free: 9.418 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.4067, allocations: 357.9 kB / 1.129 GB, free: 9.062 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001929/0.4086, allocations: 1.339 MB / 1.13 GB, free: 7.723 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002121/0.4107, allocations: 1.659 MB / 1.132 GB, free: 5.949 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00403/0.4148, allocations: 3.084 MB / 1.135 GB, free: 2.746 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.279e-05/0.4148, allocations: 8 kB / 1.135 GB, free: 2.738 MB / 0.8887 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01201/0.4268, allocations: 5.641 MB / 1.14 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.111e-05/0.4269, allocations: 13.66 kB / 1.14 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/0.4269, allocations: 8 kB / 1.14 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008978/0.4359, allocations: 2.734 MB / 1.143 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008229/0.4368, allocations: 191.6 kB / 1.143 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03663/0.4734, allocations: 25.72 MB / 1.168 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/0.4751, allocations: 103.9 kB / 1.168 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003133/0.4754, allocations: 52 kB / 1.168 GB, free: 15.68 MB / 0.9356 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.00153/0.477, allocations: 0.7315 MB / 1.169 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003673/0.4773, allocations: 122.5 kB / 1.169 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01175/0.4891, allocations: 5.392 MB / 1.174 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.858e-05/0.4892, allocations: 16 kB / 1.174 GB, free: 9.375 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.915e-05/0.4892, allocations: 16 kB / 1.174 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.33e-05/0.4892, allocations: 7.969 kB / 1.174 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01677/0.506, allocations: 8.648 MB / 1.183 GB, free: 0.5859 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.909e-05/0.5061, allocations: 4 kB / 1.183 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005062/0.5066, allocations: 115.8 kB / 1.183 GB, free: 480 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0088/0.5154, allocations: 2.556 MB / 1.185 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002519/0.5157, allocations: 28 kB / 1.185 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0327/0.5484, allocations: 23.01 MB / 1.208 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/0.5484, allocations: 11.92 kB / 1.208 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.011/0.5595, allocations: 5.13 MB / 1.213 GB, free: 1.07 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009694/0.5605, allocations: 471.6 kB / 1.213 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003735/0.5608, allocations: 35.98 kB / 1.213 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001292/0.5622, allocations: 75.91 kB / 1.213 GB, free: 492 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005899/0.5628, allocations: 117 kB / 1.214 GB, free: 372 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001373/0.5629, allocations: 44.36 kB / 1.214 GB, free: 328 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001022/0.5639, allocations: 0.6395 MB / 1.214 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.4e-07/0.564, allocations: 4 kB / 1.214 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002491/0.5665, allocations: 0.7188 MB / 1.215 GB, free: 14.96 MB / 0.9825 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.01147/0.5779, allocations: 5.719 MB / 1.221 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.008253/0.5862, allocations: 4.731 MB / 1.225 GB, free: 4.367 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/0.5863, allocations: 4 kB / 1.225 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.005286/0.5916, allocations: 2.647 MB / 1.228 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/0.5931, allocations: 217.8 kB / 1.228 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4554/1.049, allocations: 21.86 MB / 1.249 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00125/1.05, allocations: 1.696 MB / 1.251 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000754/1.051, allocations: 325.9 kB / 1.251 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005291/1.051, allocations: 0.5303 MB / 1.252 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of SimCode: time 8.52e-07/1.051, allocations: 0 / 1.252 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7005/1.752, allocations: 51.37 MB / 1.302 GB, free: 155.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.76/15.51, allocations: 4.188 kB / 1.302 GB, free: 155.6 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches