Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ACLineMedium,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",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.008205/0.008205, allocations: 103.7 kB / 15.74 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.001832/0.001833, allocations: 201.8 kB / 16.68 MB, free: 5.965 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.623/2.623, allocations: 437 MB / 0.7105 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 64.09 kB / 1.018 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2838, allocations: 151.6 MB / 1.166 GB, free: 7.34 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01877/0.3026, allocations: 14.8 MB / 1.181 GB, free: 8.48 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01496/0.3176, allocations: 10.34 MB / 1.191 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001325/0.319, allocations: 59.62 kB / 1.191 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004571/0.3236, allocations: 1.691 MB / 1.192 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005301/0.3289, allocations: 1.858 MB / 1.194 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002134/0.3311, allocations: 0.7562 MB / 1.195 GB, free: 9.73 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.004057/0.3351, allocations: 2.75 MB / 1.198 GB, free: 6.973 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002181/0.3373, allocations: 1.423 MB / 1.199 GB, free: 5.516 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002469/0.3398, allocations: 1.531 MB / 1.201 GB, free: 3.98 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002344/0.3422, allocations: 1.16 MB / 1.202 GB, free: 2.816 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0005718/0.3428, allocations: 160 kB / 1.202 GB, free: 2.66 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002213/0.345, allocations: 0.7955 MB / 1.203 GB, free: 1.863 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000922/0.346, allocations: 0.6037 MB / 1.203 GB, free: 1.258 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001765/0.3477, allocations: 0.9522 MB / 1.204 GB, free: 308 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00418/0.3519, allocations: 2.779 MB / 1.207 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.352, allocations: 0 / 1.207 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.763e-06/0.352, allocations: 0 / 1.207 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.218e-05/0.3521, allocations: 0 / 1.207 GB, free: 13.51 MB / 0.9669 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.005093/0.3572, allocations: 2.23 MB / 1.209 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.3572, allocations: 12.03 kB / 1.209 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003936/0.3576, allocations: 194.3 kB / 1.209 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01263/0.3703, allocations: 2.117 MB / 1.211 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003567/0.3739, allocations: 1.32 MB / 1.213 GB, free: 7.516 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.813e-05/0.374, allocations: 90.67 kB / 1.213 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004992/0.3745, allocations: 119.9 kB / 1.213 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007014/0.3815, allocations: 2.667 MB / 1.215 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.207e-05/0.3816, allocations: 11.89 kB / 1.215 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002691/0.3819, allocations: 55.98 kB / 1.215 GB, free: 4.426 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007204/0.3827, allocations: 194.1 kB / 1.216 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008361/0.391, allocations: 2.787 MB / 1.218 GB, free: 1.438 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01615/0.4072, allocations: 10.46 MB / 1.229 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007152/0.4144, allocations: 2.34 MB / 1.231 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003593/0.418, allocations: 1.28 MB / 1.232 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001168/0.4182, allocations: 13 kB / 1.232 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.938e-05/0.4182, allocations: 43.56 kB / 1.232 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=89): time 3.627e-06/0.4183, allocations: 0 / 1.232 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of matching and sorting (n=153): time 0.06391/0.4822, allocations: 16.51 MB / 1.248 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.052e-05/0.4823, allocations: 68.72 kB / 1.248 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00187/0.4842, allocations: 1.176 MB / 1.249 GB, free: 0.7422 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002666/0.4844, allocations: 53.7 kB / 1.25 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.554/1.038, allocations: 0.7503 MB / 1.25 GB, free: 78.64 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007368/1.039, allocations: 0.541 MB / 1.251 GB, free: 78.59 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000706/1.04, allocations: 290.5 kB / 1.251 GB, free: 78.56 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.855e-05/1.04, allocations: 305.4 kB / 1.251 GB, free: 78.27 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004094/1.044, allocations: 1.509 MB / 1.253 GB, free: 78.26 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004384/1.049, allocations: 1.778 MB / 1.255 GB, free: 77.86 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008435/1.057, allocations: 3.372 MB / 1.258 GB, free: 76.55 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.456e-05/1.057, allocations: 1.688 kB / 1.258 GB, free: 76.55 MB / 0.9981 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01543/1.072, allocations: 5.28 MB / 1.263 GB, free: 74.82 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/1.073, allocations: 7.781 kB / 1.263 GB, free: 74.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/1.073, allocations: 10.91 kB / 1.263 GB, free: 74.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007115/1.08, allocations: 1.88 MB / 1.265 GB, free: 74.39 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002193/1.082, allocations: 426.1 kB / 1.265 GB, free: 74.37 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02765/1.11, allocations: 24.15 MB / 1.289 GB, free: 57.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002991/1.113, allocations: 304.3 kB / 1.289 GB, free: 57.42 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003795/1.113, allocations: 70.56 kB / 1.289 GB, free: 57.41 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001225/1.114, allocations: 467.9 kB / 1.29 GB, free: 57.12 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005832/1.115, allocations: 183.1 kB / 1.29 GB, free: 57.03 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01513/1.13, allocations: 5.327 MB / 1.295 GB, free: 55.21 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.968e-05/1.13, allocations: 15.67 kB / 1.295 GB, free: 55.21 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.069e-05/1.13, allocations: 18.94 kB / 1.295 GB, free: 55.21 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.179e-05/1.13, allocations: 6.938 kB / 1.295 GB, free: 55.21 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01892/1.149, allocations: 7.43 MB / 1.302 GB, free: 52.56 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.696e-05/1.149, allocations: 2.938 kB / 1.302 GB, free: 52.56 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001791/1.151, allocations: 364.3 kB / 1.303 GB, free: 52.54 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006156/1.157, allocations: 1.697 MB / 1.304 GB, free: 52.12 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002619/1.157, allocations: 47.55 kB / 1.304 GB, free: 52.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02584/1.183, allocations: 23.32 MB / 1.327 GB, free: 34.05 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/1.183, allocations: 4.531 kB / 1.327 GB, free: 34.05 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01241/1.196, allocations: 4.907 MB / 1.332 GB, free: 31.24 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001167/1.197, allocations: 0.4941 MB / 1.332 GB, free: 30.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004644/1.197, allocations: 27.88 kB / 1.332 GB, free: 30.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002393/1.2, allocations: 316.9 kB / 1.333 GB, free: 30.69 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005573/1.2, allocations: 152.1 kB / 1.333 GB, free: 30.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001598/1.201, allocations: 59.41 kB / 1.333 GB, free: 30.58 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001191/1.202, allocations: 0.7885 MB / 1.334 GB, free: 30.14 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.202, allocations: 0 / 1.334 GB, free: 30.14 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00309/1.205, allocations: 0.6539 MB / 1.334 GB, free: 30.07 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01196/1.217, allocations: 5.489 MB / 1.34 GB, free: 26.11 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0107/1.228, allocations: 5.169 MB / 1.345 GB, free: 20.85 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/1.228, allocations: 0 / 1.345 GB, free: 20.85 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.006494/1.234, allocations: 3.362 MB / 1.348 GB, free: 17.39 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002684/1.237, allocations: 0.5545 MB / 1.349 GB, free: 16.86 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04584/1.283, allocations: 21.9 MB / 1.37 GB, free: 10.49 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001723/1.284, allocations: 1.568 MB / 1.372 GB, free: 8.883 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001613/1.286, allocations: 387.8 kB / 1.372 GB, free: 8.508 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001067/1.287, allocations: 0.6593 MB / 1.373 GB, free: 7.848 MB / 1.014 GB Notification: Performance of SimCode: time 1.453e-06/1.287, allocations: 0 / 1.373 GB, free: 7.848 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.114/1.401, allocations: 58.75 MB / 1.43 GB, free: 13.8 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.62/21.02, allocations: 18.45 kB / 1.43 GB, free: 13.79 MB / 1.076 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_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_ACLineMedium.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches