Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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_R,fileNamePrefix="Buildings_10_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_10_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.006806/0.006806, allocations: 99.59 kB / 15.73 MB, free: 6.008 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.001202/0.001202, allocations: 196.3 kB / 16.67 MB, free: 5.934 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.558/2.558, allocations: 437 MB / 0.7105 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 67.89 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2807, allocations: 151.6 MB / 1.166 GB, free: 7.309 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008224/0.289, allocations: 6.81 MB / 1.173 GB, free: 472 kB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004844/0.2939, allocations: 3.067 MB / 1.176 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005939/0.2945, allocations: 27.81 kB / 1.176 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002445/0.297, allocations: 0.9557 MB / 1.177 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001288/0.2983, allocations: 0.5168 MB / 1.177 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.2994, allocations: 447 kB / 1.178 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00139/0.3008, allocations: 1.236 MB / 1.179 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009425/0.3017, allocations: 0.6702 MB / 1.18 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000707/0.3024, allocations: 478.3 kB / 1.18 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007821/0.3032, allocations: 0.5137 MB / 1.181 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001466/0.3034, allocations: 71.94 kB / 1.181 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007134/0.3041, allocations: 371.3 kB / 1.181 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0003242/0.3044, allocations: 319.1 kB / 1.181 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005092/0.305, allocations: 449.7 kB / 1.182 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001366/0.3063, allocations: 1.23 MB / 1.183 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3064, allocations: 0 / 1.183 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3064, allocations: 0 / 1.183 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.91e-05/0.3064, allocations: 4 kB / 1.183 GB, free: 6.113 MB / 0.9356 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.002118/0.3085, allocations: 1.187 MB / 1.184 GB, free: 4.871 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.3086, allocations: 12.02 kB / 1.184 GB, free: 4.859 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001546/0.3087, allocations: 114.7 kB / 1.184 GB, free: 4.738 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001611/0.3104, allocations: 248 kB / 1.184 GB, free: 4.496 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.3114, allocations: 0.6043 MB / 1.185 GB, free: 3.852 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.677e-05/0.3114, allocations: 49.62 kB / 1.185 GB, free: 3.805 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.3115, allocations: 68.36 kB / 1.185 GB, free: 3.738 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/0.313, allocations: 1.085 MB / 1.186 GB, free: 2.539 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.757e-05/0.313, allocations: 7.938 kB / 1.186 GB, free: 2.531 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.676e-05/0.3131, allocations: 31.98 kB / 1.186 GB, free: 2.5 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001493/0.3132, allocations: 85.25 kB / 1.186 GB, free: 2.414 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.3144, allocations: 0.7582 MB / 1.187 GB, free: 1.656 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005264/0.3197, allocations: 5.882 MB / 1.193 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009265/0.3206, allocations: 0.5603 MB / 1.193 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004221/0.321, allocations: 326 kB / 1.194 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.729e-05/0.3211, allocations: 4.438 kB / 1.194 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.3211, allocations: 42.94 kB / 1.194 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=47): time 2.013e-06/0.3211, allocations: 0 / 1.194 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of matching and sorting (n=48): time 0.003763/0.3249, allocations: 1.999 MB / 1.196 GB, free: 8.316 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.325, allocations: 55.84 kB / 1.196 GB, free: 8.25 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006039/0.3256, allocations: 0.5626 MB / 1.196 GB, free: 7.68 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.83e-05/0.3256, allocations: 41.64 kB / 1.196 GB, free: 7.633 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002511/0.3259, allocations: 432 kB / 1.197 GB, free: 7.207 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.326, allocations: 182.5 kB / 1.197 GB, free: 7.027 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001925/0.3262, allocations: 122.6 kB / 1.197 GB, free: 6.902 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.3264, allocations: 378.7 kB / 1.197 GB, free: 6.523 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003989/0.3268, allocations: 277.8 kB / 1.198 GB, free: 6.25 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005113/0.3273, allocations: 493 kB / 1.198 GB, free: 5.676 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009777/0.3283, allocations: 0.8093 MB / 1.199 GB, free: 4.77 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.3283, allocations: 4 kB / 1.199 GB, free: 4.766 MB / 0.9512 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001779/0.3301, allocations: 1.087 MB / 1.2 GB, free: 3.66 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.3301, allocations: 8 kB / 1.2 GB, free: 3.652 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.3301, allocations: 12.06 kB / 1.2 GB, free: 3.641 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008383/0.331, allocations: 283.1 kB / 1.2 GB, free: 3.352 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004882/0.3315, allocations: 127.8 kB / 1.2 GB, free: 3.227 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006202/0.3377, allocations: 7.138 MB / 1.207 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005922/0.3383, allocations: 39.95 kB / 1.207 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.212e-05/0.3383, allocations: 28 kB / 1.207 GB, free: 11.46 MB / 0.9669 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.0003418/0.3387, allocations: 259.9 kB / 1.208 GB, free: 11.2 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.3388, allocations: 71.77 kB / 1.208 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00149/0.3403, allocations: 0.8965 MB / 1.209 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.3403, allocations: 4 kB / 1.209 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/0.3404, allocations: 8 kB / 1.209 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.3404, allocations: 3.984 kB / 1.209 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002586/0.343, allocations: 1.713 MB / 1.21 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.343, allocations: 4.125 kB / 1.21 GB, free: 8.383 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002775/0.3433, allocations: 67.88 kB / 1.21 GB, free: 8.316 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007504/0.344, allocations: 271.1 kB / 1.211 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.348e-05/0.3441, allocations: 8 kB / 1.211 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006011/0.3501, allocations: 7.132 MB / 1.218 GB, free: 348 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3501, allocations: 0 / 1.218 GB, free: 348 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00147/0.3516, allocations: 0.9878 MB / 1.219 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003148/0.3519, allocations: 192.6 kB / 1.219 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.352, allocations: 15.88 kB / 1.219 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003974/0.3524, allocations: 27.97 kB / 1.219 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.676e-05/0.3525, allocations: 55.81 kB / 1.219 GB, free: 15 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.997e-05/0.3526, allocations: 12.19 kB / 1.219 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004145/0.353, allocations: 387.1 kB / 1.219 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.41e-07/0.353, allocations: 0 / 1.219 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007899/0.3538, allocations: 224 kB / 1.219 GB, free: 14.4 MB / 0.9825 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.001681/0.3555, allocations: 1.552 MB / 1.221 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001904/0.3574, allocations: 1.275 MB / 1.222 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.3574, allocations: 0 / 1.222 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001201/0.3586, allocations: 0.9048 MB / 1.223 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001025/0.3597, allocations: 219.1 kB / 1.223 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008224/0.3679, allocations: 6.402 MB / 1.229 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005766/0.3685, allocations: 1.016 MB / 1.23 GB, free: 2.508 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003781/0.3689, allocations: 126 kB / 1.231 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003077/0.3692, allocations: 251.4 kB / 1.231 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of SimCode: time 7.02e-07/0.3692, allocations: 0 / 1.231 GB, free: 2.137 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04595/0.4152, allocations: 17.49 MB / 1.248 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.09/10.51, allocations: 7.859 kB / 1.248 GB, free: 0.9688 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches