Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",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.007996/0.007996, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001707/0.001707, allocations: 202.7 kB / 16.68 MB, free: 5.969 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.391/1.391, 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.394/2.394, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 67.83 kB / 0.9504 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2358, allocations: 140.4 MB / 1.087 GB, free: 2 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008517/0.2444, allocations: 6.807 MB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005178/0.2496, allocations: 3.067 MB / 1.097 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006546/0.2503, allocations: 23.88 kB / 1.097 GB, free: 8.062 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002656/0.253, allocations: 0.9545 MB / 1.098 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001357/0.2544, allocations: 0.5168 MB / 1.099 GB, free: 6.586 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.2556, allocations: 445.7 kB / 1.099 GB, free: 6.152 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001505/0.2571, allocations: 1.248 MB / 1.1 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001039/0.2581, allocations: 0.6625 MB / 1.101 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007501/0.2589, allocations: 478.3 kB / 1.101 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007591/0.2597, allocations: 0.5175 MB / 1.102 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.000146/0.2598, allocations: 68 kB / 1.102 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007244/0.2606, allocations: 383.2 kB / 1.102 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002999/0.2609, allocations: 311.2 kB / 1.103 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005141/0.2614, allocations: 449.7 kB / 1.103 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001441/0.2628, allocations: 1.218 MB / 1.104 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.2629, allocations: 11.92 kB / 1.104 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2629, allocations: 4 kB / 1.104 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.535e-05/0.2629, allocations: 0 / 1.104 GB, free: 0.8164 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002171/0.2651, allocations: 1.187 MB / 1.105 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.2651, allocations: 12.03 kB / 1.105 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001522/0.2653, allocations: 122.7 kB / 1.105 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001682/0.267, allocations: 248.1 kB / 1.106 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.268, allocations: 0.6042 MB / 1.106 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.075e-05/0.2681, allocations: 49.67 kB / 1.106 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.2682, allocations: 64.38 kB / 1.106 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/0.2697, allocations: 1.081 MB / 1.107 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/0.2698, allocations: 11.94 kB / 1.107 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.698e-05/0.2699, allocations: 31.98 kB / 1.108 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001571/0.27, allocations: 81.25 kB / 1.108 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/0.2712, allocations: 0.7504 MB / 1.108 GB, free: 12.37 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00518/0.2764, allocations: 5.886 MB / 1.114 GB, free: 6.062 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009731/0.2774, allocations: 0.5646 MB / 1.115 GB, free: 5.488 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004227/0.2778, allocations: 322 kB / 1.115 GB, free: 5.172 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.472e-05/0.2779, allocations: 12.38 kB / 1.115 GB, free: 5.16 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.2779, allocations: 39 kB / 1.115 GB, free: 5.113 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=47): time 2.054e-06/0.2779, allocations: 0 / 1.115 GB, free: 5.113 MB / 0.8731 GB Notification: Performance of matching and sorting (n=48): time 0.003951/0.2819, allocations: 1.995 MB / 1.117 GB, free: 3.023 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.2819, allocations: 63.84 kB / 1.117 GB, free: 2.949 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000627/0.2826, allocations: 0.5626 MB / 1.118 GB, free: 2.375 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.357e-05/0.2826, allocations: 29.7 kB / 1.118 GB, free: 2.34 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002629/0.2829, allocations: 432 kB / 1.118 GB, free: 1.91 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.283, allocations: 174.5 kB / 1.118 GB, free: 1.738 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001905/0.2832, allocations: 134.6 kB / 1.118 GB, free: 1.602 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.2834, allocations: 374.7 kB / 1.119 GB, free: 1.227 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004061/0.2838, allocations: 277.8 kB / 1.119 GB, free: 0.9531 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005199/0.2843, allocations: 493 kB / 1.119 GB, free: 384 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009841/0.2853, allocations: 0.8094 MB / 1.12 GB, free: 15.47 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/0.2853, allocations: 4 kB / 1.12 GB, free: 15.47 MB / 0.8887 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001831/0.2871, allocations: 1.091 MB / 1.121 GB, free: 14.36 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.2872, allocations: 8 kB / 1.121 GB, free: 14.35 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.2872, allocations: 4 kB / 1.121 GB, free: 14.35 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008655/0.2881, allocations: 283.6 kB / 1.121 GB, free: 14.06 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005141/0.2886, allocations: 119.8 kB / 1.122 GB, free: 13.94 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006456/0.2951, allocations: 7.146 MB / 1.129 GB, free: 6.227 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006473/0.2957, allocations: 39.97 kB / 1.129 GB, free: 6.188 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.868e-05/0.2958, allocations: 31.98 kB / 1.129 GB, free: 6.156 MB / 0.8887 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003797/0.2962, allocations: 257.5 kB / 1.129 GB, free: 5.895 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.2963, allocations: 75.53 kB / 1.129 GB, free: 5.82 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001561/0.2979, allocations: 0.8847 MB / 1.13 GB, free: 4.914 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.301e-06/0.2979, allocations: 12 kB / 1.13 GB, free: 4.902 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.298, allocations: 4 kB / 1.13 GB, free: 4.898 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.298, allocations: 0 / 1.13 GB, free: 4.898 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002666/0.3006, allocations: 1.728 MB / 1.132 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.3007, allocations: 7.938 kB / 1.132 GB, free: 3.074 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002844/0.3009, allocations: 55.95 kB / 1.132 GB, free: 3.02 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007799/0.3017, allocations: 267.3 kB / 1.132 GB, free: 2.746 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.511e-05/0.3018, allocations: 8 kB / 1.132 GB, free: 2.738 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006228/0.308, allocations: 7.131 MB / 1.139 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.308, allocations: 4.031 kB / 1.139 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001519/0.3096, allocations: 0.9916 MB / 1.14 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003301/0.3099, allocations: 196.6 kB / 1.14 GB, free: 9.797 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.975e-05/0.31, allocations: 11.94 kB / 1.14 GB, free: 9.785 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004084/0.3104, allocations: 31.97 kB / 1.14 GB, free: 9.754 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.3106, allocations: 39.88 kB / 1.14 GB, free: 9.715 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.098e-05/0.3106, allocations: 16 kB / 1.14 GB, free: 9.699 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004478/0.311, allocations: 387.1 kB / 1.14 GB, free: 9.324 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3111, allocations: 4 kB / 1.14 GB, free: 9.32 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0008144/0.3119, allocations: 228 kB / 1.141 GB, free: 9.098 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001794/0.3137, allocations: 1.546 MB / 1.142 GB, free: 7.488 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00197/0.3157, allocations: 1.276 MB / 1.143 GB, free: 6.164 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/0.3157, allocations: 4 kB / 1.143 GB, free: 6.16 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.001276/0.317, allocations: 0.8931 MB / 1.144 GB, free: 5.215 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.3181, allocations: 230 kB / 1.145 GB, free: 5 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008908/0.327, allocations: 6.405 MB / 1.151 GB, free: 14.25 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005847/0.3277, allocations: 1.005 MB / 1.152 GB, free: 13.21 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0004076/0.3281, allocations: 134 kB / 1.152 GB, free: 13.08 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003086/0.3284, allocations: 251.4 kB / 1.152 GB, free: 12.84 MB / 0.92 GB Notification: Performance of SimCode: time 9.02e-07/0.3284, allocations: 0 / 1.152 GB, free: 12.84 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04603/0.3744, allocations: 17.49 MB / 1.169 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.17/10.54, allocations: 11.47 kB / 1.169 GB, free: 11.62 MB / 0.9356 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_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_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches