Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.007514/0.007514, allocations: 98.8 kB / 15.73 MB, free: 6.039 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.001935/0.001935, allocations: 193.5 kB / 16.67 MB, free: 5.961 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.463/1.463, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.711/2.711, allocations: 437 MB / 0.7105 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 67.89 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2998, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.0179/0.3177, allocations: 14.05 MB / 1.18 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0151/0.3328, allocations: 9.392 MB / 1.189 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001235/0.3341, allocations: 59.62 kB / 1.189 GB, free: 15.7 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004542/0.3387, allocations: 1.672 MB / 1.191 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.004897/0.3436, allocations: 1.536 MB / 1.192 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002134/0.3458, allocations: 0.7562 MB / 1.193 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003703/0.3495, allocations: 2.516 MB / 1.195 GB, free: 9.203 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002031/0.3515, allocations: 1.426 MB / 1.197 GB, free: 7.742 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001479/0.353, allocations: 1.039 MB / 1.198 GB, free: 6.699 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001654/0.3547, allocations: 1.152 MB / 1.199 GB, free: 5.543 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002591/0.3549, allocations: 164 kB / 1.199 GB, free: 5.383 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001548/0.3565, allocations: 0.7877 MB / 1.2 GB, free: 4.594 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0006231/0.3571, allocations: 0.6154 MB / 1.2 GB, free: 3.977 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001033/0.3582, allocations: 0.9406 MB / 1.201 GB, free: 3.031 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003332/0.3615, allocations: 2.767 MB / 1.204 GB, free: 260 kB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.3615, allocations: 0 / 1.204 GB, free: 260 kB / 0.9512 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3615, allocations: 0 / 1.204 GB, free: 260 kB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.579e-05/0.3616, allocations: 0 / 1.204 GB, free: 260 kB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.004104/0.3657, allocations: 2.193 MB / 1.206 GB, free: 14 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.3658, allocations: 12.03 kB / 1.206 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002426/0.366, allocations: 194.4 kB / 1.206 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0116/0.3776, allocations: 2.094 MB / 1.209 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003036/0.3807, allocations: 1.303 MB / 1.21 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.06e-05/0.3808, allocations: 94.72 kB / 1.21 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002643/0.381, allocations: 115.9 kB / 1.21 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00618/0.3872, allocations: 2.679 MB / 1.213 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.568e-05/0.3873, allocations: 7.984 kB / 1.213 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001697/0.3875, allocations: 55.98 kB / 1.213 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006384/0.3881, allocations: 186 kB / 1.213 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007802/0.3959, allocations: 2.795 MB / 1.216 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01571/0.4117, allocations: 10.48 MB / 1.226 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007057/0.4188, allocations: 2.528 MB / 1.228 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003249/0.422, allocations: 1.288 MB / 1.23 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.098e-05/0.4221, allocations: 12.98 kB / 1.23 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/0.4222, allocations: 47.56 kB / 1.23 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=89): time 2.625e-06/0.4222, allocations: 0 / 1.23 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of matching and sorting (n=131): time 0.0477/0.4699, allocations: 13.38 MB / 1.243 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.47, allocations: 64.72 kB / 1.243 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001581/0.4716, allocations: 1.121 MB / 1.244 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001806/0.4718, allocations: 49.64 kB / 1.244 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006193/0.4724, allocations: 0.7248 MB / 1.245 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005092/0.4729, allocations: 475.9 kB / 1.245 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005511/0.4735, allocations: 267.5 kB / 1.245 GB, free: 4.914 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001849/0.4736, allocations: 369.8 kB / 1.246 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003589/0.4772, allocations: 1.335 MB / 1.247 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003868/0.4811, allocations: 1.604 MB / 1.248 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6132/1.094, allocations: 2.989 MB / 1.251 GB, free: 77.23 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.896e-06/1.094, allocations: 2.375 kB / 1.251 GB, free: 77.23 MB / 0.9981 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01383/1.108, allocations: 4.447 MB / 1.256 GB, free: 76.48 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/1.108, allocations: 7.719 kB / 1.256 GB, free: 76.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/1.108, allocations: 7.188 kB / 1.256 GB, free: 76.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005737/1.114, allocations: 1.431 MB / 1.257 GB, free: 76.12 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0023/1.116, allocations: 436.8 kB / 1.258 GB, free: 76.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02519/1.142, allocations: 26.7 MB / 1.284 GB, free: 54.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002692/1.144, allocations: 304.3 kB / 1.284 GB, free: 54.11 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001861/1.145, allocations: 63.83 kB / 1.284 GB, free: 54.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008474/1.145, allocations: 439.2 kB / 1.284 GB, free: 53.83 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002939/1.146, allocations: 168.3 kB / 1.285 GB, free: 53.74 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01195/1.158, allocations: 4.461 MB / 1.289 GB, free: 52.25 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.759e-05/1.158, allocations: 14.59 kB / 1.289 GB, free: 52.25 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.513e-05/1.158, allocations: 12.59 kB / 1.289 GB, free: 52.25 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.123e-05/1.158, allocations: 6.516 kB / 1.289 GB, free: 52.25 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01552/1.173, allocations: 6.76 MB / 1.296 GB, free: 49.72 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/1.173, allocations: 3.281 kB / 1.296 GB, free: 49.72 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001937/1.175, allocations: 385.1 kB / 1.296 GB, free: 49.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004743/1.18, allocations: 1.303 MB / 1.297 GB, free: 49.34 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000191/1.18, allocations: 41.75 kB / 1.297 GB, free: 49.32 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02017/1.2, allocations: 25.51 MB / 1.322 GB, free: 27.81 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/1.2, allocations: 3.312 kB / 1.322 GB, free: 27.81 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01043/1.211, allocations: 4.217 MB / 1.326 GB, free: 26.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/1.212, allocations: 471.1 kB / 1.327 GB, free: 26.01 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002507/1.212, allocations: 24.56 kB / 1.327 GB, free: 25.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002047/1.214, allocations: 303.8 kB / 1.327 GB, free: 25.98 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004848/1.215, allocations: 131.3 kB / 1.327 GB, free: 25.95 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001247/1.215, allocations: 46.83 kB / 1.327 GB, free: 25.94 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009871/1.216, allocations: 0.7505 MB / 1.328 GB, free: 25.62 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.216, allocations: 0 / 1.328 GB, free: 25.62 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002224/1.218, allocations: 0.5707 MB / 1.329 GB, free: 25.56 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01077/1.229, allocations: 4.798 MB / 1.333 GB, free: 22.57 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01052/1.24, allocations: 5.146 MB / 1.338 GB, free: 19.18 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/1.24, allocations: 1.188 kB / 1.338 GB, free: 19.18 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005967/1.246, allocations: 3.498 MB / 1.342 GB, free: 16.61 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002276/1.248, allocations: 0.5535 MB / 1.342 GB, free: 16.32 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03604/1.284, allocations: 19.43 MB / 1.361 GB, free: 1.062 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001063/1.285, allocations: 1.481 MB / 1.363 GB, free: 15.55 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00165/1.287, allocations: 417.6 kB / 1.363 GB, free: 15.14 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001/1.288, allocations: 0.6281 MB / 1.364 GB, free: 14.51 MB / 1.014 GB Notification: Performance of SimCode: time 5.61e-07/1.288, allocations: 0 / 1.364 GB, free: 14.51 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.128/1.416, allocations: 51.67 MB / 1.414 GB, free: 11.47 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.87/20.28, allocations: 7.719 kB / 1.414 GB, free: 11.46 MB / 1.061 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches