Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_N,fileNamePrefix="Buildings_11_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_11_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.001438/0.001438, 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.001396/0.001396, allocations: 195.8 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.314/1.314, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.599/2.599, allocations: 469.8 MB / 0.7424 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001757/0.001757, allocations: 65.16 kB / 0.9087 GB, free: 34.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2565, allocations: 159.2 MB / 1.064 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01142/0.268, allocations: 10.09 MB / 1.074 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004788/0.2728, allocations: 3.174 MB / 1.077 GB, free: 0.8789 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003237/0.2731, allocations: 31.88 kB / 1.077 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001329/0.2745, allocations: 0.6073 MB / 1.078 GB, free: 244 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001153/0.2757, allocations: 0.7349 MB / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.2769, allocations: 0.7432 MB / 1.079 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002574/0.2795, allocations: 2.996 MB / 1.082 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002663/0.2822, allocations: 2.61 MB / 1.085 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001352/0.2835, allocations: 1.246 MB / 1.086 GB, free: 7.852 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001712/0.2852, allocations: 1.55 MB / 1.087 GB, free: 6.297 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.00031/0.2856, allocations: 236 kB / 1.088 GB, free: 6.066 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008468/0.2864, allocations: 0.4994 MB / 1.088 GB, free: 5.566 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0009344/0.2874, allocations: 1.076 MB / 1.089 GB, free: 4.488 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001048/0.2884, allocations: 1.116 MB / 1.09 GB, free: 3.367 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.003008/0.2914, allocations: 3.661 MB / 1.094 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2915, allocations: 3.938 kB / 1.094 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.163e-06/0.2915, allocations: 0 / 1.094 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 2.116e-05/0.2915, allocations: 0 / 1.094 GB, free: 15.69 MB / 0.8575 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.003451/0.2949, allocations: 2.146 MB / 1.096 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.295, allocations: 8.031 kB / 1.096 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003234/0.2953, allocations: 261.2 kB / 1.096 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008381/0.3037, allocations: 1.317 MB / 1.097 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001999/0.3057, allocations: 1.255 MB / 1.099 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.203e-05/0.3058, allocations: 115.4 kB / 1.099 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002716/0.3061, allocations: 144.3 kB / 1.099 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004711/0.3108, allocations: 3.441 MB / 1.102 GB, free: 6.801 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.089e-05/0.3108, allocations: 7.938 kB / 1.102 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001951/0.311, allocations: 63.97 kB / 1.102 GB, free: 6.73 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002377/0.3113, allocations: 211.1 kB / 1.102 GB, free: 6.523 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004588/0.3159, allocations: 3.124 MB / 1.106 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01607/0.332, allocations: 13.62 MB / 1.119 GB, free: 4.895 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002369/0.3344, allocations: 1.724 MB / 1.121 GB, free: 3.164 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001904/0.3363, allocations: 1.436 MB / 1.122 GB, free: 1.723 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.747e-05/0.3364, allocations: 13 kB / 1.122 GB, free: 1.711 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.3364, allocations: 47.5 kB / 1.122 GB, free: 1.652 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=104): time 2.876e-06/0.3364, allocations: 0 / 1.122 GB, free: 1.652 MB / 0.8731 GB Notification: Performance of matching and sorting (n=183): time 0.1418/0.4782, allocations: 36.67 MB / 1.158 GB, free: 12.85 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.024e-05/0.4783, allocations: 73.41 kB / 1.158 GB, free: 12.77 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001382/0.4797, allocations: 1.053 MB / 1.159 GB, free: 11.69 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002035/0.4799, allocations: 53.7 kB / 1.159 GB, free: 11.63 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000525/0.4804, allocations: 0.7835 MB / 1.16 GB, free: 10.83 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005688/0.481, allocations: 0.6316 MB / 1.16 GB, free: 10.19 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007003/0.4817, allocations: 355.4 kB / 1.161 GB, free: 9.836 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.4818, allocations: 301.1 kB / 1.161 GB, free: 9.539 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002601/0.4844, allocations: 1.936 MB / 1.163 GB, free: 7.602 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00285/0.4873, allocations: 2.293 MB / 1.165 GB, free: 5.184 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005632/0.4929, allocations: 4.395 MB / 1.169 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/0.4929, allocations: 0 / 1.169 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.01931/0.5122, allocations: 9.021 MB / 1.178 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.5123, allocations: 9.406 kB / 1.178 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/0.5123, allocations: 8 kB / 1.178 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01615/0.5285, allocations: 5.008 MB / 1.183 GB, free: 2.574 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000822/0.5293, allocations: 199.6 kB / 1.183 GB, free: 2.379 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05563/0.585, allocations: 38.93 MB / 1.221 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/0.5868, allocations: 103.9 kB / 1.221 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00017/0.587, allocations: 68 kB / 1.221 GB, free: 10.7 MB / 0.9825 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.001189/0.5882, allocations: 0.8024 MB / 1.222 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002777/0.5885, allocations: 142.4 kB / 1.222 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01958/0.6081, allocations: 8.897 MB / 1.231 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.253e-05/0.6081, allocations: 19.98 kB / 1.231 GB, free: 0.7969 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.967e-05/0.6082, allocations: 35.94 kB / 1.231 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.721e-05/0.6082, allocations: 7.969 kB / 1.231 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0255/0.6337, allocations: 13.3 MB / 1.244 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.867e-05/0.6338, allocations: 4 kB / 1.244 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004757/0.6343, allocations: 119.8 kB / 1.244 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4286/1.063, allocations: 4.785 MB / 1.249 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002654/1.063, allocations: 37.48 kB / 1.249 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04313/1.106, allocations: 34.85 MB / 1.283 GB, free: 158.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/1.106, allocations: 12.38 kB / 1.283 GB, free: 158.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01565/1.122, allocations: 8.402 MB / 1.291 GB, free: 156.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008737/1.123, allocations: 0.6104 MB / 1.292 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002553/1.123, allocations: 45 kB / 1.292 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/1.124, allocations: 91.14 kB / 1.292 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000673/1.125, allocations: 156.5 kB / 1.292 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001264/1.125, allocations: 50.06 kB / 1.292 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007361/1.126, allocations: 0.7387 MB / 1.293 GB, free: 155.5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.126, allocations: 1.125 kB / 1.293 GB, free: 155.5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002051/1.128, allocations: 1.004 MB / 1.294 GB, free: 155.5 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.01474/1.143, allocations: 9 MB / 1.303 GB, free: 152.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007758/1.15, allocations: 6.679 MB / 1.309 GB, free: 148.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.15, allocations: 4.062 kB / 1.309 GB, free: 148.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005651/1.156, allocations: 3.843 MB / 1.313 GB, free: 144.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/1.157, allocations: 237.6 kB / 1.313 GB, free: 144.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04143/1.199, allocations: 31.7 MB / 1.344 GB, free: 112 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001026/1.2, allocations: 1.855 MB / 1.346 GB, free: 110.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005919/1.2, allocations: 358.1 kB / 1.346 GB, free: 109.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004764/1.201, allocations: 0.6086 MB / 1.347 GB, free: 109.2 MB / 0.9981 GB Notification: Performance of SimCode: time 7.02e-07/1.201, allocations: 0 / 1.347 GB, free: 109.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.456/4.657, allocations: 74.17 MB / 1.419 GB, free: 35.38 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.45/19.1, allocations: 13.33 kB / 1.419 GB, free: 35.37 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches