Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.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_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_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.001552/0.001552, allocations: 108 kB / 15.6 MB, free: 132 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.001945/0.001945, allocations: 192.9 kB / 16.53 MB, free: 6.391 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.308/1.308, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.515/2.515, allocations: 461.9 MB / 0.7346 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 68.41 kB / 0.8992 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2445, allocations: 157.4 MB / 1.053 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01148/0.256, allocations: 10.09 MB / 1.063 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004461/0.2605, allocations: 3.178 MB / 1.066 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003239/0.2608, allocations: 31.88 kB / 1.066 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001355/0.2622, allocations: 0.6063 MB / 1.066 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.00116/0.2633, allocations: 0.7349 MB / 1.067 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.2646, allocations: 0.7447 MB / 1.068 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002423/0.2671, allocations: 2.988 MB / 1.071 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002701/0.2698, allocations: 2.606 MB / 1.073 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001683/0.2715, allocations: 1.254 MB / 1.075 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001905/0.2734, allocations: 1.558 MB / 1.076 GB, free: 384 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0003979/0.2738, allocations: 236 kB / 1.076 GB, free: 148 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001414/0.2752, allocations: 0.4916 MB / 1.077 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0009244/0.2762, allocations: 1.076 MB / 1.078 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0009683/0.2772, allocations: 1.109 MB / 1.079 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00282/0.28, allocations: 3.669 MB / 1.083 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.28, allocations: 0 / 1.083 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.332e-06/0.28, allocations: 0 / 1.083 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.98e-05/0.28, allocations: 0 / 1.083 GB, free: 9.781 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.00373/0.2838, allocations: 2.15 MB / 1.085 GB, free: 7.574 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.2838, allocations: 8.625 kB / 1.085 GB, free: 7.566 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003161/0.2841, allocations: 257.2 kB / 1.085 GB, free: 7.305 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008659/0.2928, allocations: 1.321 MB / 1.086 GB, free: 5.98 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001875/0.2947, allocations: 1.255 MB / 1.087 GB, free: 4.68 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.488e-05/0.2948, allocations: 115.4 kB / 1.088 GB, free: 4.566 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002861/0.2951, allocations: 144.3 kB / 1.088 GB, free: 4.426 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004613/0.2997, allocations: 3.442 MB / 1.091 GB, free: 0.8867 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.459e-05/0.2998, allocations: 3.938 kB / 1.091 GB, free: 0.8828 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002019/0.3, allocations: 63.97 kB / 1.091 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002272/0.3002, allocations: 203.1 kB / 1.091 GB, free: 0.6211 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004427/0.3046, allocations: 3.124 MB / 1.094 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0159/0.3205, allocations: 13.63 MB / 1.108 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002252/0.3228, allocations: 1.727 MB / 1.109 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001761/0.3246, allocations: 1.433 MB / 1.111 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.438e-05/0.3247, allocations: 12.98 kB / 1.111 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.3247, allocations: 47.55 kB / 1.111 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=104): time 3.667e-06/0.3247, allocations: 0 / 1.111 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of matching and sorting (n=183): time 0.1422/0.467, allocations: 36.67 MB / 1.147 GB, free: 6.934 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.467, allocations: 69.41 kB / 1.147 GB, free: 6.855 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001264/0.4683, allocations: 1.05 MB / 1.148 GB, free: 5.781 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001472/0.4685, allocations: 53.7 kB / 1.148 GB, free: 5.723 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004511/0.4689, allocations: 0.7951 MB / 1.149 GB, free: 4.914 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005248/0.4695, allocations: 0.6238 MB / 1.149 GB, free: 4.281 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007405/0.4702, allocations: 363.4 kB / 1.149 GB, free: 3.918 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.052e-05/0.4703, allocations: 301.1 kB / 1.15 GB, free: 3.621 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002562/0.4729, allocations: 1.928 MB / 1.152 GB, free: 1.691 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002821/0.4757, allocations: 2.289 MB / 1.154 GB, free: 15.28 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005432/0.4811, allocations: 4.392 MB / 1.158 GB, free: 10.76 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.408e-06/0.4812, allocations: 4 kB / 1.158 GB, free: 10.76 MB / 0.92 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01917/0.5003, allocations: 9.028 MB / 1.167 GB, free: 1.703 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.5004, allocations: 20.03 kB / 1.167 GB, free: 1.684 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.5004, allocations: 8 kB / 1.167 GB, free: 1.676 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01586/0.5163, allocations: 4.996 MB / 1.172 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000814/0.5171, allocations: 191.6 kB / 1.172 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05416/0.5713, allocations: 38.92 MB / 1.21 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001788/0.5731, allocations: 99.89 kB / 1.21 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002198/0.5733, allocations: 75.97 kB / 1.21 GB, free: 4.801 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001251/0.5746, allocations: 0.8023 MB / 1.211 GB, free: 3.988 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003095/0.5749, allocations: 138.3 kB / 1.211 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01862/0.5935, allocations: 8.897 MB / 1.22 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/0.5935, allocations: 16 kB / 1.22 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-05/0.5936, allocations: 32 kB / 1.22 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-05/0.5936, allocations: 11.97 kB / 1.22 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0261/0.6197, allocations: 13.3 MB / 1.233 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-05/0.6198, allocations: 4 kB / 1.233 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005021/0.6203, allocations: 119.8 kB / 1.233 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01608/0.6364, allocations: 4.791 MB / 1.238 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002535/0.6367, allocations: 36 kB / 1.238 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.444/1.081, allocations: 34.86 MB / 1.272 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/1.081, allocations: 6.344 kB / 1.272 GB, free: 174.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01762/1.098, allocations: 8.402 MB / 1.28 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00107/1.099, allocations: 0.6124 MB / 1.281 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002753/1.1, allocations: 35 kB / 1.281 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00126/1.101, allocations: 94.3 kB / 1.281 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008169/1.102, allocations: 163.1 kB / 1.281 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001378/1.102, allocations: 47.58 kB / 1.281 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008553/1.103, allocations: 0.7399 MB / 1.282 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.103, allocations: 0 / 1.282 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002669/1.106, allocations: 1.005 MB / 1.283 GB, free: 170.9 MB / 0.9981 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (14,24,80.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0167/1.122, allocations: 8.993 MB / 1.291 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.008675/1.131, allocations: 6.689 MB / 1.298 GB, free: 164.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/1.131, allocations: 7.938 kB / 1.298 GB, free: 164.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.006387/1.137, allocations: 3.836 MB / 1.302 GB, free: 162.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/1.139, allocations: 243 kB / 1.302 GB, free: 162.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04642/1.185, allocations: 31.69 MB / 1.333 GB, free: 129.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001246/1.186, allocations: 1.859 MB / 1.335 GB, free: 128 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0007206/1.187, allocations: 360.7 kB / 1.335 GB, free: 127.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005226/1.188, allocations: 0.6047 MB / 1.336 GB, free: 127.1 MB / 0.9981 GB Notification: Performance of SimCode: time 8.62e-07/1.188, allocations: 0 / 1.336 GB, free: 127.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9771/2.165, allocations: 74.18 MB / 1.408 GB, free: 53.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.38/18.55, allocations: 5.75 kB / 1.408 GB, free: 53.3 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches