Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.004925/0.004925, allocations: 98.91 kB / 15.73 MB, free: 5.988 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.001088/0.001088, allocations: 191.9 kB / 16.67 MB, free: 5.918 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.315/2.315, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 67.67 kB / 0.9504 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2365, allocations: 140.4 MB / 1.087 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.0112/0.2477, allocations: 10.08 MB / 1.097 GB, free: 7.867 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005065/0.2528, allocations: 3.182 MB / 1.1 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005894/0.2534, allocations: 35.81 kB / 1.1 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001525/0.255, allocations: 0.5985 MB / 1.101 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001676/0.2566, allocations: 0.774 MB / 1.102 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001616/0.2583, allocations: 0.7477 MB / 1.103 GB, free: 2.516 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003034/0.2613, allocations: 2.988 MB / 1.105 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002699/0.264, allocations: 2.591 MB / 1.108 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0015/0.2655, allocations: 1.274 MB / 1.109 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001853/0.2674, allocations: 1.546 MB / 1.111 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003061/0.2677, allocations: 236 kB / 1.111 GB, free: 9.828 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009023/0.2686, allocations: 0.5032 MB / 1.111 GB, free: 9.324 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0009443/0.2696, allocations: 1.076 MB / 1.113 GB, free: 8.246 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001152/0.2708, allocations: 1.112 MB / 1.114 GB, free: 7.129 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003438/0.2742, allocations: 3.691 MB / 1.117 GB, free: 3.426 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.2742, allocations: 0 / 1.117 GB, free: 3.426 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2742, allocations: 4 kB / 1.117 GB, free: 3.422 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.992e-05/0.2743, allocations: 0 / 1.117 GB, free: 3.422 MB / 0.8731 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.003911/0.2782, allocations: 2.194 MB / 1.119 GB, free: 1.168 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.2783, allocations: 8.031 kB / 1.119 GB, free: 1.16 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003163/0.2786, allocations: 257.2 kB / 1.12 GB, free: 0.8984 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009188/0.2878, allocations: 1.33 MB / 1.121 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002845/0.2906, allocations: 1.306 MB / 1.122 GB, free: 14.21 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.671e-05/0.2907, allocations: 115.4 kB / 1.122 GB, free: 14.1 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003426/0.2911, allocations: 148.3 kB / 1.122 GB, free: 13.96 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004962/0.2961, allocations: 3.446 MB / 1.126 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.723e-05/0.2961, allocations: 3.938 kB / 1.126 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002175/0.2963, allocations: 67.97 kB / 1.126 GB, free: 10.34 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002394/0.2966, allocations: 203.1 kB / 1.126 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004591/0.3012, allocations: 3.124 MB / 1.129 GB, free: 7.016 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01697/0.3182, allocations: 13.57 MB / 1.142 GB, free: 8.57 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002405/0.3206, allocations: 1.732 MB / 1.144 GB, free: 6.832 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001866/0.3225, allocations: 1.44 MB / 1.145 GB, free: 5.387 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 7.804e-05/0.3226, allocations: 9 kB / 1.145 GB, free: 5.379 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.3226, allocations: 47.55 kB / 1.146 GB, free: 5.32 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=104): time 2.825e-06/0.3226, allocations: 0 / 1.146 GB, free: 5.32 MB / 0.9044 GB Notification: Performance of matching and sorting (n=183): time 0.1531/0.4757, allocations: 36.71 MB / 1.181 GB, free: 484 kB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.871e-05/0.4758, allocations: 73.34 kB / 1.181 GB, free: 400 kB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001741/0.4776, allocations: 1.061 MB / 1.182 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0004146/0.478, allocations: 49.7 kB / 1.183 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006054/0.4786, allocations: 0.821 MB / 1.183 GB, free: 14.42 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008779/0.4795, allocations: 0.639 MB / 1.184 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001025/0.4805, allocations: 371.5 kB / 1.184 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.163e-05/0.4806, allocations: 301.1 kB / 1.185 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002781/0.4834, allocations: 1.928 MB / 1.186 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00305/0.4865, allocations: 2.285 MB / 1.189 GB, free: 8.766 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006032/0.4926, allocations: 4.391 MB / 1.193 GB, free: 4.25 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.325e-05/0.4926, allocations: 8 kB / 1.193 GB, free: 4.242 MB / 0.9512 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.02143/0.514, allocations: 9.027 MB / 1.202 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/0.5141, allocations: 15.94 kB / 1.202 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.035e-05/0.5141, allocations: 8 kB / 1.202 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0176/0.5317, allocations: 4.969 MB / 1.207 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009163/0.5327, allocations: 191.7 kB / 1.207 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05974/0.5924, allocations: 38.94 MB / 1.245 GB, free: 14.48 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002256/0.5947, allocations: 99.89 kB / 1.245 GB, free: 14.39 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004026/0.5952, allocations: 67.98 kB / 1.245 GB, free: 14.32 MB / 1.014 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.001685/0.5969, allocations: 0.8145 MB / 1.246 GB, free: 13.5 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004192/0.5973, allocations: 151.1 kB / 1.246 GB, free: 13.35 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02091/0.6182, allocations: 8.882 MB / 1.255 GB, free: 4.43 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.21e-05/0.6183, allocations: 16 kB / 1.255 GB, free: 4.414 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.407e-05/0.6184, allocations: 28 kB / 1.255 GB, free: 4.387 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-05/0.6184, allocations: 11.97 kB / 1.255 GB, free: 4.375 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5142/1.133, allocations: 13.41 MB / 1.268 GB, free: 156.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.876e-05/1.133, allocations: 5.094 kB / 1.268 GB, free: 156.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005604/1.133, allocations: 121 kB / 1.268 GB, free: 156.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01872/1.152, allocations: 4.843 MB / 1.273 GB, free: 155.9 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003705/1.152, allocations: 33.88 kB / 1.273 GB, free: 155.9 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05003/1.202, allocations: 36.85 MB / 1.309 GB, free: 139.1 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/1.202, allocations: 3.75 kB / 1.309 GB, free: 139.1 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01724/1.22, allocations: 8.602 MB / 1.317 GB, free: 134.6 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001558/1.221, allocations: 0.6453 MB / 1.318 GB, free: 134.2 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000373/1.222, allocations: 44.3 kB / 1.318 GB, free: 134.2 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001372/1.223, allocations: 84.23 kB / 1.318 GB, free: 134.1 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007847/1.224, allocations: 160.8 kB / 1.318 GB, free: 134 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001414/1.224, allocations: 49.34 kB / 1.318 GB, free: 134 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0008515/1.225, allocations: 0.7441 MB / 1.319 GB, free: 133.6 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.6e-07/1.225, allocations: 0 / 1.319 GB, free: 133.6 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002848/1.228, allocations: 1.001 MB / 1.32 GB, free: 133.3 MB / 1.014 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%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0172/1.245, allocations: 9.197 MB / 1.329 GB, free: 124 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.008491/1.253, allocations: 5.958 MB / 1.335 GB, free: 118 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/1.253, allocations: 2.25 kB / 1.335 GB, free: 118 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00717/1.261, allocations: 3.944 MB / 1.338 GB, free: 114 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/1.262, allocations: 245.9 kB / 1.339 GB, free: 113.8 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05041/1.313, allocations: 31.08 MB / 1.369 GB, free: 82.23 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001299/1.314, allocations: 1.851 MB / 1.371 GB, free: 80.34 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007488/1.315, allocations: 359.3 kB / 1.371 GB, free: 79.99 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005848/1.315, allocations: 0.6086 MB / 1.372 GB, free: 79.38 MB / 1.014 GB Notification: Performance of SimCode: time 7.11e-07/1.315, allocations: 0 / 1.372 GB, free: 79.38 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09604/1.411, allocations: 76.14 MB / 1.446 GB, free: 3.547 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/13.34, allocations: 33.19 kB / 1.446 GB, free: 3.516 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches